ShortcutInfo.Builder.SetShortLabel メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| Name | 説明 |
|---|---|
| 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
パラメーター
- shortLabel
- ICharSequence
返品
- 属性
注釈
ショートカットの短いタイトルを設定します。 これは、ShortcutManager.addDynamicShortcuts(List) または ShortcutManager.setDynamicShortcuts(List) を使用して新しいショートカットを発行する場合に必須のフィールドです。 このフィールドは、ショートカットの簡潔な説明を目的としています。 推奨される最大長は 10 文字です。
android.content.pm.ShortcutInfo.Builder.setShortLabelの Android リファレンス。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。
適用対象
SetShortLabel(String)
public Android.Content.PM.ShortcutInfo.Builder SetShortLabel(string shortLabel);
member this.SetShortLabel : string -> Android.Content.PM.ShortcutInfo.Builder
パラメーター
- shortLabel
- String
返品
注釈
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。