ShortcutManager.DisableShortcuts 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.
Overloads
DisableShortcuts(IList<String>) |
Disable pinned shortcuts. |
DisableShortcuts(IList<String>, ICharSequence) |
Disable pinned shortcuts, showing the user a custom error message when they try to select the disabled shortcuts. |
DisableShortcuts(IList<String>, String) |
Disable pinned shortcuts, showing the user a custom error message when they try to select the disabled shortcuts. |
DisableShortcuts(IList<String>)
Disable pinned shortcuts.
[Android.Runtime.Register("disableShortcuts", "(Ljava/util/List;)V", "GetDisableShortcuts_Ljava_util_List_Handler", ApiSince=25)]
public virtual void DisableShortcuts (System.Collections.Generic.IList<string> shortcutIds);
[<Android.Runtime.Register("disableShortcuts", "(Ljava/util/List;)V", "GetDisableShortcuts_Ljava_util_List_Handler", ApiSince=25)>]
abstract member DisableShortcuts : System.Collections.Generic.IList<string> -> unit
override this.DisableShortcuts : System.Collections.Generic.IList<string> -> unit
Parameters
- Attributes
Remarks
Disable pinned shortcuts. For more details, read
Disable shortcuts.
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
DisableShortcuts(IList<String>, ICharSequence)
Disable pinned shortcuts, showing the user a custom error message when they try to select the disabled shortcuts.
[Android.Runtime.Register("disableShortcuts", "(Ljava/util/List;Ljava/lang/CharSequence;)V", "GetDisableShortcuts_Ljava_util_List_Ljava_lang_CharSequence_Handler", ApiSince=25)]
public virtual void DisableShortcuts (System.Collections.Generic.IList<string> shortcutIds, Java.Lang.ICharSequence? disabledMessage);
[<Android.Runtime.Register("disableShortcuts", "(Ljava/util/List;Ljava/lang/CharSequence;)V", "GetDisableShortcuts_Ljava_util_List_Ljava_lang_CharSequence_Handler", ApiSince=25)>]
abstract member DisableShortcuts : System.Collections.Generic.IList<string> * Java.Lang.ICharSequence -> unit
override this.DisableShortcuts : System.Collections.Generic.IList<string> * Java.Lang.ICharSequence -> unit
Parameters
- disabledMessage
- ICharSequence
- Attributes
Remarks
Disable pinned shortcuts, showing the user a custom error message when they try to select the disabled shortcuts. For more details, read
Disable shortcuts.
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
DisableShortcuts(IList<String>, String)
Disable pinned shortcuts, showing the user a custom error message when they try to select the disabled shortcuts.
public void DisableShortcuts (System.Collections.Generic.IList<string> shortcutIds, string? disabledMessage);
member this.DisableShortcuts : System.Collections.Generic.IList<string> * string -> unit
Parameters
- disabledMessage
- String
Remarks
Disable pinned shortcuts, showing the user a custom error message when they try to select the disabled shortcuts. For more details, read
Disable shortcuts.
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.