TrackerControl
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
net.kollnig.missioncontrol.data.TrackerCategory Class Reference

Public Member Functions

boolean isUncertain ()
 
void setUncertain (boolean uncertain)
 
String getDisplayName (Context c)
 
List< TrackergetChildren ()
 
String getCategoryName ()
 

Public Attributes

String category
 
Long lastSeen
 

Static Public Attributes

static final String UNCATEGORISED = "Uncategorised"
 

Detailed Description

Categorises tracker companies into high-level categories

Member Function Documentation

◆ getCategoryName()

String net.kollnig.missioncontrol.data.TrackerCategory.getCategoryName ( )

Get category name that is used internally

Returns
Internally-used tracker category name

◆ getChildren()

List< Tracker > net.kollnig.missioncontrol.data.TrackerCategory.getChildren ( )

Get list of tracker companies that are within this tracker category

Returns
List of tracker companies that are within this tracker category

◆ getDisplayName()

String net.kollnig.missioncontrol.data.TrackerCategory.getDisplayName ( Context  c)

Get a name of tracker category for display in UI

Parameters
cContext
Returns
Name of tracker category to be shown in UI

◆ isUncertain()

boolean net.kollnig.missioncontrol.data.TrackerCategory.isUncertain ( )

Some trackers are uncertain, due to the nature of DNS. This returns information about this.

Returns
Whether it's uncertain a tracker company has been contacted by an app.

◆ setUncertain()

void net.kollnig.missioncontrol.data.TrackerCategory.setUncertain ( boolean  uncertain)

Some trackers are uncertain, due to the nature of DNS. This saves information about this.

Parameters
uncertainWhether it's uncertain a tracker company has been contacted by an app.

The documentation for this class was generated from the following file: