NotificationListenerService.Ranking.MatchesInterruptionFilter 方法

定义

返回通知是否与用户的中断筛选器匹配。

[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

返回

true 如果筛选器允许通知,或者 false 它被阻止,则为

属性

注解

返回通知是否与用户的中断筛选器匹配。

适用于 . 的 android.service.notification.NotificationListenerService.Ranking.matchesInterruptionFilter()Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于