ShortcutInfo.Builder.SetLongLabel 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| SetLongLabel(ICharSequence) |
設定一個捷徑的文字。 |
| SetLongLabel(String) |
SetLongLabel(ICharSequence)
設定一個捷徑的文字。
[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
參數
- longLabel
- ICharSequence
傳回
- 屬性
備註
設定一個捷徑的文字。 這個欄位的描述性比捷徑標題更為詳盡。 當啟動器有足夠空間時,會顯示這個而不是簡短的標題。 建議最大長度為 25 字元。
Android 參考資料。android.content.pm.ShortcutInfo.Builder.setLongLabel
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
SetLongLabel(String)
public Android.Content.PM.ShortcutInfo.Builder SetLongLabel(string longLabel);
member this.SetLongLabel : string -> Android.Content.PM.ShortcutInfo.Builder
參數
- longLabel
- String
傳回
備註
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。