NotificationListenerService.CurrentListenerHints 属性

定义

获取表示当前状态的提示集。

public Android.Service.Notification.NotificationListenerServiceHint CurrentListenerHints { [Android.Runtime.Register("getCurrentListenerHints", "()I", "")] get; }
[<get: Android.Runtime.Register("getCurrentListenerHints", "()I", "")>]
member this.CurrentListenerHints : Android.Service.Notification.NotificationListenerServiceHint

属性值

零个或多个HINT_常量。

属性

注解

获取表示当前状态的提示集。

如果提示表示在所有侦听器之间共享的状态或通知主机不支持或拒绝授予的功能,则当前状态可能与请求的状态不同。

服务应在执行此操作之前等待 #onListenerConnected() 事件。

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

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

适用于