Notification.Builder.SetVisibility(NotificationVisibility) Method

Definition

Specify the visibility of the notification contents.

[Android.Runtime.Register("setVisibility", "(I)Landroid/app/Notification$Builder;", "GetSetVisibility_IHandler")]
public virtual Android.App.Notification.Builder SetVisibility (Android.App.NotificationVisibility visibility);
[<Android.Runtime.Register("setVisibility", "(I)Landroid/app/Notification$Builder;", "GetSetVisibility_IHandler")>]
abstract member SetVisibility : Android.App.NotificationVisibility -> Android.App.Notification.Builder
override this.SetVisibility : Android.App.NotificationVisibility -> Android.App.Notification.Builder

Parameters

visibility
NotificationVisibility

One of Private, Secret, or Public.

Returns

Attributes

Remarks

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