EventUsageInfo class
Model for event usage information for an application
Constructors
- EventUsageInfo({String? eventType, String? timeStamp, String? packageName, String? className, String? shortcutId})
- Model for event usage information for an application
- EventUsageInfo.fromMap(Map map)
-
Construct class from the json map
factory
Properties
- className → String?
-
The class name of the source of this event.
https://developer.android.com/reference/android/app/usage/UsageEvents.Event#getClassName()
final
- eventType → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- packageName → String?
-
The package name of the source of this event.
https://developer.android.com/reference/android/app/usage/UsageEvents.Event#getPackageName()
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shortcutId → String?
-
Returns the ID of a ShortcutInfo for this event if the event is of type SHORTCUT_INVOCATION, otherwise it returns null.
https://developer.android.com/reference/android/app/usage/UsageEvents.Event#getShortcutId()
final
- timeStamp → String?
-
The time at which this event occurred, measured in milliseconds since the epoch.
https://developer.android.com/reference/android/app/usage/UsageEvents.Event#getTimeStamp()
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited