ShortcutManager.SetDynamicShortcuts(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 shortcuts.
[Android.Runtime.Register("setDynamicShortcuts", "(Ljava/util/List;)Z", "GetSetDynamicShortcuts_Ljava_util_List_Handler", ApiSince=25)]
public virtual bool SetDynamicShortcuts (System.Collections.Generic.IList<Android.Content.PM.ShortcutInfo> shortcutInfoList);
[<Android.Runtime.Register("setDynamicShortcuts", "(Ljava/util/List;)Z", "GetSetDynamicShortcuts_Ljava_util_List_Handler", ApiSince=25)>]
abstract member SetDynamicShortcuts : System.Collections.Generic.IList<Android.Content.PM.ShortcutInfo> -> bool
override this.SetDynamicShortcuts : 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 shortcuts. All existing dynamic shortcuts from the caller app will be replaced. If there are already pinned shortcuts with the same IDs, the mutable pinned shortcuts are 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.