Binder.LinkToDeath(IBinderDeathRecipient, Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
本地实现是 no-op。
[Android.Runtime.Register("linkToDeath", "(Landroid/os/IBinder$DeathRecipient;I)V", "GetLinkToDeath_Landroid_os_IBinder_DeathRecipient_IHandler")]
public virtual void LinkToDeath(Android.OS.IBinderDeathRecipient recipient, int flags);
[<Android.Runtime.Register("linkToDeath", "(Landroid/os/IBinder$DeathRecipient;I)V", "GetLinkToDeath_Landroid_os_IBinder_DeathRecipient_IHandler")>]
abstract member LinkToDeath : Android.OS.IBinderDeathRecipient * int -> unit
override this.LinkToDeath : Android.OS.IBinderDeathRecipient * int -> unit
参数
- recipient
- IBinderDeathRecipient
该值不能为 null。
- flags
- Int32
控制操作的标志。
实现
- 特性
注解
Java文档android.os.Binder.linkToDeath(android.os.DeathRecipient, int)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。