NotificationListenerService.RequestListenerHints Method
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.
Sets the desired #getCurrentListenerHints() listener hints
.
[Android.Runtime.Register("requestListenerHints", "(I)V", "")]
public void RequestListenerHints (Android.Service.Notification.NotificationListenerServiceHint hints);
[<Android.Runtime.Register("requestListenerHints", "(I)V", "")>]
member this.RequestListenerHints : Android.Service.Notification.NotificationListenerServiceHint -> unit
Parameters
One or more of the HINT_ constants.
- Attributes
Remarks
Sets the desired #getCurrentListenerHints() listener hints
.
This is merely a request, the host may or may not choose to take action depending on other listener requests or other global state.
Listen for updates using #onListenerHintsChanged(int)
.
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.