语言

Binder.LinkToDeath(IBinderDeathRecipient, Int32) 方法

定义

本地实现是 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)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于