NotificationListenerService.Ranking.MatchesInterruptionFilter 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回通知是否与用户的中断筛选器匹配。
[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 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。