Language

StatusBarNotification.IsClearable Property

Definition

Convenience method to check the notification's flags for either Notification#FLAG_ONGOING_EVENT or Notification#FLAG_NO_CLEAR.

public virtual bool IsClearable { [Android.Runtime.Register("isClearable", "()Z", "GetIsClearableHandler")] get; }
[<get: Android.Runtime.Register("isClearable", "()Z", "GetIsClearableHandler")>]
member this.IsClearable : bool

Property Value

true if neither Notification#FLAG_ONGOING_EVENT nor Notification#FLAG_NO_CLEAR is set; otherwise, false.

Attributes

Remarks

Convenience method to check the notification's flags for either Notification#FLAG_ONGOING_EVENT or Notification#FLAG_NO_CLEAR.

Java documentation for android.service.notification.StatusBarNotification.isClearable().

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