NotificationListenerService.Ranking.MatchesInterruptionFilter 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.
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.
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.