NotificationManager.AreNotificationsEnabled 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回是否启用来自调用包的通知。
[Android.Runtime.Register("areNotificationsEnabled", "()Z", "GetAreNotificationsEnabledHandler", ApiSince=24)]
public virtual bool AreNotificationsEnabled();
[<Android.Runtime.Register("areNotificationsEnabled", "()Z", "GetAreNotificationsEnabledHandler", ApiSince=24)>]
abstract member AreNotificationsEnabled : unit -> bool
override this.AreNotificationsEnabled : unit -> bool
返回
- 属性
注解
返回是否启用来自调用包的通知。
Java文档android.app.NotificationManager.areNotificationsEnabled()。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。