ShortcutInfo.Id Property

Definition

Returns the ID of a shortcut.

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

Property Value

Attributes

Remarks

Returns the ID of a shortcut.

Shortcut IDs are unique within each publisher app and must be stable across devices so that shortcuts will still be valid when restored on a different device. See ShortcutManager for details.

Java documentation for android.content.pm.ShortcutInfo.getId().

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