Language

Binder.UnlinkToDeath(IBinderDeathRecipient, Int32) Method

Definition

Local implementation is a 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

Parameters

recipient
IBinderDeathRecipient

The value cannot be null.

flags
Int32

Flags that control the operation.

Returns

true if the recipient is successfully unlinked, assuring you that its DeathRecipient.binderDied() method will not be called; false if the target IBinder has already died, meaning the method has been (or soon will be) called.

Implements

Attributes

Remarks

Java documentation for android.os.Binder.unlinkToDeath(android.os.DeathRecipient, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to