語言

NotificationChannel.IsImportantConversation 屬性

定義

這段對話中的通知是否被視為重要。

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

屬性值

屬性

備註

這段對話中的通知是否被視為重要。 重要的對話可能會有特別的視覺處理,甚至可能繞過DND。 這只適用於代表對話的通道,也就是 isConversation() 為真。

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

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

適用於