Partager via


NotificationListenerService.Ranking.IsSuspended Property

Definition

Returns whether the app that posted this notification is suspended, so this notification should be hidden.

public virtual bool IsSuspended { [Android.Runtime.Register("isSuspended", "()Z", "GetIsSuspendedHandler", ApiSince=28)] get; }
[<get: Android.Runtime.Register("isSuspended", "()Z", "GetIsSuspendedHandler", ApiSince=28)>]
member this.IsSuspended : bool

Property Value

true if the notification should be hidden, false otherwise.

Attributes

Remarks

Returns whether the app that posted this notification is suspended, so this notification should be hidden.

Java documentation for android.service.notification.NotificationListenerService.Ranking.isSuspended().

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