NotificationListenerService.RequestRebind(ComponentName) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
请求在上一次调用 #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
参数
- componentName
- ComponentName
- 属性
注解
请求在上一次调用 #requestUnbind
后将侦听器反弹。
对于尚未向用户授予权限的侦听器,此方法将失败。
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。