NotificationManager.ActionInterruptionFilterChanged 字段

定义

当 getCurrentInterruptionFilter() 的状态发生更改时广播的意向。

[Android.Runtime.Register("ACTION_INTERRUPTION_FILTER_CHANGED", ApiSince=23)]
public const string ActionInterruptionFilterChanged;
[<Android.Runtime.Register("ACTION_INTERRUPTION_FILTER_CHANGED", ApiSince=23)>]
val mutable ActionInterruptionFilterChanged : string

字段值

属性

注解

当 getCurrentInterruptionFilter() 的状态发生更改时广播的意向。

此广播仅发送到已注册的接收方和(从 Build.VERSION_CODES#Q)接收方发送到已被授予“请勿打扰”访问权限的包中的接收方(请参阅 #isNotificationPolicyAccessGranted())。

Java文档android.app.NotificationManager.ACTION_INTERRUPTION_FILTER_CHANGED

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于