Udostępnij za pośrednictwem


UsageEvents.Event.Extras Property

Definition

Retrieves a map of extended data from the event if the event is of type #USER_INTERACTION.

public Android.OS.PersistableBundle Extras { [Android.Runtime.Register("getExtras", "()Landroid/os/PersistableBundle;", "", ApiSince=35)] get; }
[<get: Android.Runtime.Register("getExtras", "()Landroid/os/PersistableBundle;", "", ApiSince=35)>]
member this.Extras : Android.OS.PersistableBundle

Property Value

the map of all extras that associated with the reported user interaction event. The returned PersistableBundle will contain the extras UsageStatsManager#EXTRA_EVENT_CATEGORY and UsageStatsManager#EXTRA_EVENT_ACTION. PersistableBundle#EMPTY will be returned if the details are not available.

Attributes

Remarks

Retrieves a map of extended data from the event if the event is of type #USER_INTERACTION.

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

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