ShortcutManager.EnableShortcuts(IList<String>) Method

Definition

Re-enable pinned shortcuts that were previously disabled.

[Android.Runtime.Register("enableShortcuts", "(Ljava/util/List;)V", "GetEnableShortcuts_Ljava_util_List_Handler", ApiSince=25)]
public virtual void EnableShortcuts (System.Collections.Generic.IList<string> shortcutIds);
[<Android.Runtime.Register("enableShortcuts", "(Ljava/util/List;)V", "GetEnableShortcuts_Ljava_util_List_Handler", ApiSince=25)>]
abstract member EnableShortcuts : System.Collections.Generic.IList<string> -> unit
override this.EnableShortcuts : System.Collections.Generic.IList<string> -> unit

Parameters

shortcutIds
IList<String>
Attributes

Remarks

Re-enable pinned shortcuts that were previously disabled. If the target shortcuts are already enabled, this method does nothing.

Java documentation for android.content.pm.ShortcutManager.enableShortcuts(java.util.List<java.lang.String>).

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