ShortcutInfo.Builder.SetLongLabel 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
| Name | Description |
|---|---|
| SetLongLabel(ICharSequence) |
Sets the text of a shortcut. |
| SetLongLabel(String) |
SetLongLabel(ICharSequence)
Sets the text of a shortcut.
[Android.Runtime.Register("setLongLabel", "(Ljava/lang/CharSequence;)Landroid/content/pm/ShortcutInfo$Builder;", "GetSetLongLabel_Ljava_lang_CharSequence_Handler", ApiSince=25)]
public virtual Android.Content.PM.ShortcutInfo.Builder SetLongLabel(Java.Lang.ICharSequence longLabel);
[<Android.Runtime.Register("setLongLabel", "(Ljava/lang/CharSequence;)Landroid/content/pm/ShortcutInfo$Builder;", "GetSetLongLabel_Ljava_lang_CharSequence_Handler", ApiSince=25)>]
abstract member SetLongLabel : Java.Lang.ICharSequence -> Android.Content.PM.ShortcutInfo.Builder
override this.SetLongLabel : Java.Lang.ICharSequence -> Android.Content.PM.ShortcutInfo.Builder
Parameters
- longLabel
- ICharSequence
Returns
- Attributes
Remarks
Sets the text of a shortcut. This field is intended to be more descriptive than the shortcut title. The launcher shows this instead of the short title when it has enough space. The recommend maximum length is 25 characters.
Android reference for android.content.pm.ShortcutInfo.Builder.setLongLabel.
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
SetLongLabel(String)
public Android.Content.PM.ShortcutInfo.Builder SetLongLabel(string longLabel);
member this.SetLongLabel : string -> Android.Content.PM.ShortcutInfo.Builder
Parameters
- longLabel
- 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.