NotificationListenerService.CurrentListenerHints Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the set of hints representing current state.
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
Property Value
Zero or more of the HINT_ constants.
- Attributes
Remarks
Gets the set of hints representing current state.
The current state may differ from the requested state if the hint represents state shared across all listeners or a feature the notification host does not support or refuses to grant.
The service should wait for the #onListenerConnected()
event before performing this operation.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.