Dela via


NotificationListenerService.Ranking.LockscreenVisibilityOverride Property

Definition

Returns the user or device policy manager specified visibility (see Notification#VISIBILITY_PRIVATE, Notification#VISIBILITY_PUBLIC, Notification#VISIBILITY_SECRET) for this notification, or NotificationListenerService.Ranking#VISIBILITY_NO_OVERRIDE if no such preference has been expressed.

public virtual int LockscreenVisibilityOverride { [Android.Runtime.Register("getLockscreenVisibilityOverride", "()I", "GetGetLockscreenVisibilityOverrideHandler", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getLockscreenVisibilityOverride", "()I", "GetGetLockscreenVisibilityOverrideHandler", ApiSince=31)>]
member this.LockscreenVisibilityOverride : int

Property Value

Attributes

Remarks

Returns the user or device policy manager specified visibility (see Notification#VISIBILITY_PRIVATE, Notification#VISIBILITY_PUBLIC, Notification#VISIBILITY_SECRET) for this notification, or NotificationListenerService.Ranking#VISIBILITY_NO_OVERRIDE if no such preference has been expressed.

Java documentation for android.service.notification.NotificationListenerService.Ranking.getLockscreenVisibilityOverride().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to