Language

ShortcutInfo.Builder.SetDisabledMessage Method

Definition

Overloads

Name Description
SetDisabledMessage(ICharSequence)

Sets the message that should be shown when the user attempts to start a shortcut that is disabled.

SetDisabledMessage(String)

SetDisabledMessage(ICharSequence)

Sets the message that should be shown when the user attempts to start a shortcut that is disabled.

[Android.Runtime.Register("setDisabledMessage", "(Ljava/lang/CharSequence;)Landroid/content/pm/ShortcutInfo$Builder;", "GetSetDisabledMessage_Ljava_lang_CharSequence_Handler", ApiSince=25)]
public virtual Android.Content.PM.ShortcutInfo.Builder SetDisabledMessage(Java.Lang.ICharSequence disabledMessage);
[<Android.Runtime.Register("setDisabledMessage", "(Ljava/lang/CharSequence;)Landroid/content/pm/ShortcutInfo$Builder;", "GetSetDisabledMessage_Ljava_lang_CharSequence_Handler", ApiSince=25)>]
abstract member SetDisabledMessage : Java.Lang.ICharSequence -> Android.Content.PM.ShortcutInfo.Builder
override this.SetDisabledMessage : Java.Lang.ICharSequence -> Android.Content.PM.ShortcutInfo.Builder

Parameters

disabledMessage
ICharSequence

Returns

Attributes

Remarks

Sets the message that should be shown when the user attempts to start a shortcut that is disabled.

Android reference for android.content.pm.ShortcutInfo.Builder.setDisabledMessage.

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

SetDisabledMessage(String)

public Android.Content.PM.ShortcutInfo.Builder SetDisabledMessage(string disabledMessage);
member this.SetDisabledMessage : string -> Android.Content.PM.ShortcutInfo.Builder

Parameters

disabledMessage
String

Returns

Remarks

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