Class AppUsageInfo
-
- All Implemented Interfaces:
public class AppUsageInfo extends UsageInfo
A helper class that embeds usage event information and provides chained setter methods to set values with mobile services-specific keys.
-
-
Constructor Summary
Constructors Constructor Description AppUsageInfo()Constructs a AppUsageInfo instance.
-
Method Summary
Modifier and Type Method Description AppUsageInfoscreen(@NonNull() String data)Adds the data for SCREEN. AppUsageInfoelement(@NonNull() String data)Adds the data for ELEMENT. AppUsageInfoview(@NonNull() String data)Adds the data for VIEW. AppUsageInfobehavior(@NonNull() String data)Adds the data for BEHAVIOUR. AppUsageInfoaction(@NonNull() String data)Adds the data for ACTION. AppUsageInfosetCase(@NonNull() String data)Adds the data for CASE. AppUsageInfotype(@NonNull() String data)Adds the data for TYPE. AppUsageInforesult(@NonNull() String data)Adds the data for RESULT. AppUsageInfocategory(@NonNull() String data)Adds the data for CATEGORY. AppUsageInfokey(@NonNull() String data)Adds the data for KEY. AppUsageInfounit(@NonNull() String data)Adds the data for UNIT. AppUsageInfomeasurement(@NonNull() String data)Adds the data for MEASUREMENT. AppUsageInfovalue(@NonNull() String data)Adds the data for VALUE. AppUsageInfoduration(@NonNull() String data)Adds the data for DURATION. AppUsageInfoothers(@NonNull() String data)Adds the data for OTHERS. -
-
Constructor Detail
-
AppUsageInfo
AppUsageInfo()
Constructs a AppUsageInfo instance.
-
-
Method Detail
-
screen
@NonNull() AppUsageInfo screen(@NonNull() String data)
Adds the data for SCREEN.
- Parameters:
data- The string data associated with the key- Returns:
This instance.
-
element
@NonNull() AppUsageInfo element(@NonNull() String data)
Adds the data for ELEMENT.
- Parameters:
data- The string data associated with the key- Returns:
This instance.
-
view
@NonNull() AppUsageInfo view(@NonNull() String data)
Adds the data for VIEW.
- Parameters:
data- The string data associated with the key- Returns:
This instance.
-
behavior
@NonNull() AppUsageInfo behavior(@NonNull() String data)
Adds the data for BEHAVIOUR.
- Parameters:
data- The string data associated with the key- Returns:
This instance.
-
action
@NonNull() AppUsageInfo action(@NonNull() String data)
Adds the data for ACTION.
- Parameters:
data- The string data associated with the key- Returns:
This instance.
-
setCase
@NonNull() AppUsageInfo setCase(@NonNull() String data)
Adds the data for CASE.
- Parameters:
data- The string data associated with the key- Returns:
This instance.
-
type
@NonNull() AppUsageInfo type(@NonNull() String data)
Adds the data for TYPE.
- Parameters:
data- The string data associated with the key- Returns:
This instance.
-
result
@NonNull() AppUsageInfo result(@NonNull() String data)
Adds the data for RESULT.
- Parameters:
data- The string data associated with the key- Returns:
This instance.
-
category
@NonNull() AppUsageInfo category(@NonNull() String data)
Adds the data for CATEGORY.
- Parameters:
data- The string data associated with the key- Returns:
This instance.
-
key
@NonNull() AppUsageInfo key(@NonNull() String data)
Adds the data for KEY.
- Parameters:
data- The string data associated with the key- Returns:
This instance.
-
unit
@NonNull() AppUsageInfo unit(@NonNull() String data)
Adds the data for UNIT.
- Parameters:
data- The string data associated with the key- Returns:
This instance.
-
measurement
@NonNull() AppUsageInfo measurement(@NonNull() String data)
Adds the data for MEASUREMENT.
- Parameters:
data- The string data associated with the key- Returns:
This instance.
-
value
@NonNull() AppUsageInfo value(@NonNull() String data)
Adds the data for VALUE.
- Parameters:
data- The string data associated with the key- Returns:
This instance.
-
duration
@NonNull() AppUsageInfo duration(@NonNull() String data)
Adds the data for DURATION.
- Parameters:
data- The string data associated with the key- Returns:
This instance.
-
others
@NonNull() AppUsageInfo others(@NonNull() String data)
Adds the data for OTHERS.
- Parameters:
data- The string data associated with the key- Returns:
This instance.
-
-
-
-