Notification.Builder.SetSortKey(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定排序索引鍵,以排序此通知與其他來自相同套件的通知。
[Android.Runtime.Register("setSortKey", "(Ljava/lang/String;)Landroid/app/Notification$Builder;", "GetSetSortKey_Ljava_lang_String_Handler")]
public virtual Android.App.Notification.Builder SetSortKey (string? sortKey);
[<Android.Runtime.Register("setSortKey", "(Ljava/lang/String;)Landroid/app/Notification$Builder;", "GetSetSortKey_Ljava_lang_String_Handler")>]
abstract member SetSortKey : string -> Android.App.Notification.Builder
override this.SetSortKey : string -> Android.App.Notification.Builder
參數
- sortKey
- String
通知的排序索引鍵。
傳回
- 屬性
備註
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。