次の方法で共有


ShortcutManager.DynamicShortcuts Property

Definition

Return all dynamic shortcuts from the caller app.

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

Property Value

Attributes

Remarks

Return all dynamic 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.getDynamicShortcuts().

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