Share via


NotificationListenerService.CurrentListenerHints Property

Definition

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.

Java documentation for android.service.notification.NotificationListenerService.getCurrentListenerHints().

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.

Applies to