Package org.robolectric.shadows
Class ShadowUsageStatsManager.EventBuilder
java.lang.Object
org.robolectric.shadows.ShadowUsageStatsManager.EventBuilder
- Enclosing class:
- ShadowUsageStatsManager
Builder for constructing
UsageEvents.Event
objects. The fields of Event are not part of the Android
API.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
fromEvent
(UsageEvents.Event event) setAppStandbyBucket
(int bucket) setConfiguration
(Configuration configuration) setEventType
(int eventType) setExtras
(PersistableBundle extras) setInstanceId
(int instanceId) setPackage
(String packageName) setShortcutId
(String shortcutId) setTaskRootClass
(String taskRootClass) setTaskRootPackage
(String taskRootPackage) setTimeStamp
(long timeStamp)
-
Method Details
-
fromEvent
-
buildEvent
-
build
-
setPackage
-
setClass
-
setTimeStamp
-
setEventType
-
setConfiguration
-
setShortcutId
-
setInstanceId
-
setTaskRootPackage
-
setTaskRootClass
-
setAppStandbyBucket
-
setExtras
-