Android.App.Notification.Visibility Property
Sphere of visibility for this notification, which affects how and when the system UI reveals the notification's presence and contents in untrusted situations (namely, on the secure lockscreen).

Syntax

[Android.Runtime.Register("visibility")]
public NotificationVisibility Visibility { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Sphere of visibility for this notification, which affects how and when the system UI reveals the notification's presence and contents in untrusted situations (namely, above the secure lockscreen). The default level, NotificationVisibility.Private, behaves exactly as notifications always have on Android: the notification's Notification.Icon and Notification.TickerText (if available) are shown in all situations, but the contents are only available if the device is unlocked for the appropriate user.

A more permissive policy can be expressed by using NotificationVisibility.Public. A public notification can be read in an "insecure" context (that is, above a secure lockscreen). To modify the public version of this notification—for example, to redact some portions—see Android.App.Notification.Builder.SetPublicVersion(Notification).

Finally, a notification can be made NotificationVisibility.Secret, which will suppress its icon and ticker until the user has bypassed the lockscreen.

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1