Binder.UnlinkToDeath(IBinderDeathRecipient, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.