Share via


NotificationListenerService.RequestRebind(ComponentName) Method

Definition

Request that the listener be rebound, after a previous call to #requestUnbind.

[Android.Runtime.Register("requestRebind", "(Landroid/content/ComponentName;)V", "", ApiSince=24)]
public static void RequestRebind (Android.Content.ComponentName? componentName);
[<Android.Runtime.Register("requestRebind", "(Landroid/content/ComponentName;)V", "", ApiSince=24)>]
static member RequestRebind : Android.Content.ComponentName -> unit

Parameters

componentName
ComponentName
Attributes

Remarks

Request that the listener be rebound, after a previous call to #requestUnbind.

This method will fail for listeners that have not been granted the permission by the user.

Java documentation for android.service.notification.NotificationListenerService.requestRebind(android.content.ComponentName).

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