UsageEvents.Event.AppStandbyBucket Property

Definition

Returns the standby bucket of the app, if the event is of type #STANDBY_BUCKET_CHANGED, otherwise returns 0.

public int AppStandbyBucket { [Android.Runtime.Register("getAppStandbyBucket", "()I", "", ApiSince=28)] get; }
[<get: Android.Runtime.Register("getAppStandbyBucket", "()I", "", ApiSince=28)>]
member this.AppStandbyBucket : int

Property Value

the standby bucket associated with the event.

Attributes

Remarks

Returns the standby bucket of the app, if the event is of type #STANDBY_BUCKET_CHANGED, otherwise returns 0.

Java documentation for android.app.usage.UsageEvents.Event.getAppStandbyBucket().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to