ShortcutManager.PinnedShortcuts Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Return all pinned shortcuts from the caller app.
public virtual System.Collections.Generic.IList<Android.Content.PM.ShortcutInfo> PinnedShortcuts { [Android.Runtime.Register("getPinnedShortcuts", "()Ljava/util/List;", "GetGetPinnedShortcutsHandler", ApiSince=25)] get; }
[<get: Android.Runtime.Register("getPinnedShortcuts", "()Ljava/util/List;", "GetGetPinnedShortcutsHandler", ApiSince=25)>]
member this.PinnedShortcuts : System.Collections.Generic.IList<Android.Content.PM.ShortcutInfo>
Property Value
- Attributes
Remarks
Return all pinned shortcuts from the caller app.
This API is intended to be used for examining what shortcuts are currently published. Re-publishing returned ShortcutInfo
s via APIs such as #setDynamicShortcuts(List)
may cause loss of information such as icons.
Java documentation for android.content.pm.ShortcutManager.getPinnedShortcuts()
.
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.