Documentation
¶
Overview ¶
Package usage provides Go bindings for .
Index ¶
Constants ¶
View Source
const ( ExtraEventAction = consts.ExtraEventAction ExtraEventCategory = consts.ExtraEventCategory )
View Source
const ( IntervalBest = consts.IntervalBest IntervalDaily = consts.IntervalDaily IntervalMonthly = consts.IntervalMonthly IntervalWeekly = consts.IntervalWeekly IntervalYearly = consts.IntervalYearly StandbyBucketActive = consts.StandbyBucketActive StandbyBucketFrequent = consts.StandbyBucketFrequent StandbyBucketRare = consts.StandbyBucketRare StandbyBucketRestricted = consts.StandbyBucketRestricted StandbyBucketWorkingSet = consts.StandbyBucketWorkingSet Creator = consts.Creator )
Variables ¶
This section is empty.
Functions ¶
func Init ¶
Init resolves all JNI class and method references for this package. It is safe to call multiple times (uses sync.Once internally). Exported for E2E testing on Android.
func NewusageStatsManager ¶
NewusageStatsManager obtains android.app.usage.UsageStatsManager from the Android system service manager.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.