Lenguaje

IBinder.LinkToDeath(IBinderDeathRecipient, Int32) Método

Definición

Registre el destinatario para obtener una notificación si este enlazador desaparece.

[Android.Runtime.Register("linkToDeath", "(Landroid/os/IBinder$DeathRecipient;I)V", "GetLinkToDeath_Landroid_os_IBinder_DeathRecipient_IHandler:Android.OS.IBinderInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void LinkToDeath(Android.OS.IBinderDeathRecipient recipient, int flags);
[<Android.Runtime.Register("linkToDeath", "(Landroid/os/IBinder$DeathRecipient;I)V", "GetLinkToDeath_Landroid_os_IBinder_DeathRecipient_IHandler:Android.OS.IBinderInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member LinkToDeath : Android.OS.IBinderDeathRecipient * int -> unit

Parámetros

recipient
IBinderDeathRecipient

El valor no puede ser NULL.

flags
Int32

Marcas que controlan la operación.

Atributos

Excepciones

si el proceso de IBinder de destino ya ha muerto.

Comentarios

Java documentación para android.os.IBinder.linkToDeath(android.os.DeathRecipient, int).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a