Partager via


UsageEvents.Event.ShortcutId Property

Definition

Returns the ID of a android.content.pm.ShortcutInfo for this event if the event is of type #SHORTCUT_INVOCATION, otherwise it returns null.

public string? ShortcutId { [Android.Runtime.Register("getShortcutId", "()Ljava/lang/String;", "", ApiSince=25)] get; }
[<get: Android.Runtime.Register("getShortcutId", "()Ljava/lang/String;", "", ApiSince=25)>]
member this.ShortcutId : string

Property Value

Attributes

Remarks

Returns the ID of a android.content.pm.ShortcutInfo for this event if the event is of type #SHORTCUT_INVOCATION, otherwise it returns null.

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

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