Android.App.Notification.Builder.SetVisibility Method
Specify the visibility of the notification contents.

Syntax

[Android.Runtime.Register("setVisibility", "(I)Landroid/app/Notification$Builder;", "GetSetVisibility_IHandler")]
public virtual Notification.Builder SetVisibility ([Android.Runtime.GeneratedEnum] NotificationVisibility visibility)

Parameters

visibility
One of NotificationVisibility.Private, NotificationVisibility.Secret, or NotificationVisibility.Public.

Returns

Documentation for this section has not yet been entered.

Remarks

The visibility (Android.App.NotificationVisibility) of the notification contents can be private (NotificationVisibility.Private), secret (NotificationVisibility.Secret), or public (NotificationVisibility.Public). If not set, the visibility defaults to NotificationVisibility.Private.

Requirements

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