語言

NotificationChannel.LockscreenVisibility 屬性

定義

無論本頻道發布的通知是否完整或遮蔽後顯示於鎖定畫面。 -或- 設定該頻道發布的通知是否會出現在鎖定畫面,若顯示,是否以塗黑形式呈現。

public Android.App.NotificationVisibility LockscreenVisibility { [Android.Runtime.Register("getLockscreenVisibility", "()I", "", ApiSince=26)] get; [Android.Runtime.Register("setLockscreenVisibility", "(I)V", "", ApiSince=26)] set; }
[<get: Android.Runtime.Register("getLockscreenVisibility", "()I", "", ApiSince=26)>]
[<set: Android.Runtime.Register("setLockscreenVisibility", "(I)V", "", ApiSince=26)>]
member this.LockscreenVisibility : Android.App.NotificationVisibility with get, set

屬性值

屬性

備註

無論本頻道發布的通知是否完整或遮蔽後顯示於鎖定畫面。

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

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

適用於