ShortcutManager.AddDynamicShortcuts(IList<ShortcutInfo>) Method
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.
Publish the list of dynamic shortcuts.
[Android.Runtime.Register("addDynamicShortcuts", "(Ljava/util/List;)Z", "GetAddDynamicShortcuts_Ljava_util_List_Handler", ApiSince=25)]
public virtual bool AddDynamicShortcuts (System.Collections.Generic.IList<Android.Content.PM.ShortcutInfo> shortcutInfoList);
[<Android.Runtime.Register("addDynamicShortcuts", "(Ljava/util/List;)Z", "GetAddDynamicShortcuts_Ljava_util_List_Handler", ApiSince=25)>]
abstract member AddDynamicShortcuts : System.Collections.Generic.IList<Android.Content.PM.ShortcutInfo> -> bool
override this.AddDynamicShortcuts : System.Collections.Generic.IList<Android.Content.PM.ShortcutInfo> -> bool
Parameters
- shortcutInfoList
- IList<ShortcutInfo>
Returns
true
if the call has succeeded. false
if the call is rate-limited.
- Attributes
Remarks
Publish the list of dynamic shortcuts. If there are already dynamic or pinned shortcuts with the same IDs, each mutable shortcut is updated.
This API will be rate-limited.
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.