Lenguaje

Binder.UnlinkToDeath(IBinderDeathRecipient, Int32) Método

Definición

La implementación local es un no-op.

[Android.Runtime.Register("unlinkToDeath", "(Landroid/os/IBinder$DeathRecipient;I)Z", "GetUnlinkToDeath_Landroid_os_IBinder_DeathRecipient_IHandler")]
public virtual bool UnlinkToDeath(Android.OS.IBinderDeathRecipient recipient, int flags);
[<Android.Runtime.Register("unlinkToDeath", "(Landroid/os/IBinder$DeathRecipient;I)Z", "GetUnlinkToDeath_Landroid_os_IBinder_DeathRecipient_IHandler")>]
abstract member UnlinkToDeath : Android.OS.IBinderDeathRecipient * int -> bool
override this.UnlinkToDeath : Android.OS.IBinderDeathRecipient * int -> bool

Parámetros

recipient
IBinderDeathRecipient

El valor no puede ser NULL.

flags
Int32

Marcas que controlan la operación.

Devoluciones

true si el destinatario está desvinculado correctamente, asegurándose de que no se llamará al método DeathRecipient.binderDied(); false si el destino IBinder ya ha muerto, lo que significa que se ha llamado al método (o pronto se llamará).

Implementaciones

Atributos

Comentarios

Java documentación para android.os.Binder.unlinkToDeath(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