Share via


ShortcutManager.UpdateShortcuts(IList<ShortcutInfo>) Method

Definition

Update all existing shortcuts with the same IDs.

[Android.Runtime.Register("updateShortcuts", "(Ljava/util/List;)Z", "GetUpdateShortcuts_Ljava_util_List_Handler", ApiSince=25)]
public virtual bool UpdateShortcuts (System.Collections.Generic.IList<Android.Content.PM.ShortcutInfo> shortcutInfoList);
[<Android.Runtime.Register("updateShortcuts", "(Ljava/util/List;)Z", "GetUpdateShortcuts_Ljava_util_List_Handler", ApiSince=25)>]
abstract member UpdateShortcuts : System.Collections.Generic.IList<Android.Content.PM.ShortcutInfo> -> bool
override this.UpdateShortcuts : 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

Update all existing shortcuts with the same IDs. Target shortcuts may be pinned and/or dynamic, but they must not be immutable.

This API will be rate-limited.

Java documentation for android.content.pm.ShortcutManager.updateShortcuts(java.util.List<android.content.pm.ShortcutInfo>).

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