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 AppUsageInfo
screen(@NonNull() String data)
Adds the data for SCREEN. AppUsageInfo
element(@NonNull() String data)
Adds the data for ELEMENT. AppUsageInfo
view(@NonNull() String data)
Adds the data for VIEW. AppUsageInfo
behavior(@NonNull() String data)
Adds the data for BEHAVIOUR. AppUsageInfo
action(@NonNull() String data)
Adds the data for ACTION. AppUsageInfo
setCase(@NonNull() String data)
Adds the data for CASE. AppUsageInfo
type(@NonNull() String data)
Adds the data for TYPE. AppUsageInfo
result(@NonNull() String data)
Adds the data for RESULT. AppUsageInfo
category(@NonNull() String data)
Adds the data for CATEGORY. AppUsageInfo
key(@NonNull() String data)
Adds the data for KEY. AppUsageInfo
unit(@NonNull() String data)
Adds the data for UNIT. AppUsageInfo
measurement(@NonNull() String data)
Adds the data for MEASUREMENT. AppUsageInfo
value(@NonNull() String data)
Adds the data for VALUE. AppUsageInfo
duration(@NonNull() String data)
Adds the data for DURATION. AppUsageInfo
others(@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.
-
-
-
-