語言

NotificationChannel.IsDemoted 屬性

定義

回傳使用者是否決定此頻道不代表對話。

public bool IsDemoted { [Android.Runtime.Register("isDemoted", "()Z", "", ApiSince=31)] get; }
[<get: Android.Runtime.Register("isDemoted", "()Z", "", ApiSince=31)>]
member this.IsDemoted : bool

屬性值

屬性

備註

回傳使用者是否決定此頻道不代表對話。 對於從未聲稱是對話的頻道,也就是 getConversationId() 和 getParentChannelId() 為空的頻道,該值永遠為假。

Android 參考資料。android.app.NotificationChannel.isDemoted

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於