Notification.Builder.SetVisibility(NotificationVisibility) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specify the value of Notification.visibility.
[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
int: Value is one of the following: Notification.VISIBILITY_PUBLIC Notification.VISIBILITY_PRIVATE Notification.VISIBILITY_SECRET
Returns
This Android.App.Notification.Builder instance, allowing calls to be chained.
- Attributes
Remarks
Specify the value of Notification.visibility.
Android reference for android.app.Notification.Builder.setVisibility.
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.