Udostępnij za pośrednictwem


ShortcutManager.ManifestShortcuts Property

Definition

Return all static (manifest) shortcuts from the caller app.

public virtual System.Collections.Generic.IList<Android.Content.PM.ShortcutInfo> ManifestShortcuts { [Android.Runtime.Register("getManifestShortcuts", "()Ljava/util/List;", "GetGetManifestShortcutsHandler", ApiSince=25)] get; }
[<get: Android.Runtime.Register("getManifestShortcuts", "()Ljava/util/List;", "GetGetManifestShortcutsHandler", ApiSince=25)>]
member this.ManifestShortcuts : System.Collections.Generic.IList<Android.Content.PM.ShortcutInfo>

Property Value

Attributes

Remarks

Return all static (manifest) shortcuts from the caller app.

This API is intended to be used for examining what shortcuts are currently published. Re-publishing returned ShortcutInfos via APIs such as #setDynamicShortcuts(List) may cause loss of information such as icons.

Java documentation for android.content.pm.ShortcutManager.getManifestShortcuts().

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