Share via


ShortcutInfo.Builder.SetShortLabel Method

Definition

Overloads

SetShortLabel(ICharSequence)
SetShortLabel(String)

SetShortLabel(ICharSequence)

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

Parameters

shortLabel
ICharSequence

Returns

Attributes

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

SetShortLabel(String)

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

Parameters

shortLabel
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