NotificationListenerService.Ranking.MatchesInterruptionFilter Method

Definition

Returns whether the notification matches the user's interruption filter.

[Android.Runtime.Register("matchesInterruptionFilter", "()Z", "GetMatchesInterruptionFilterHandler")]
public virtual bool MatchesInterruptionFilter ();
[<Android.Runtime.Register("matchesInterruptionFilter", "()Z", "GetMatchesInterruptionFilterHandler")>]
abstract member MatchesInterruptionFilter : unit -> bool
override this.MatchesInterruptionFilter : unit -> bool

Returns

true if the notification is allowed by the filter, or false if it is blocked.

Attributes

Remarks

Returns whether the notification matches the user's interruption filter.

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

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