IBinder.LinkToDeath(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.
Register the recipient for a notification if this binder goes away.
[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
Parameters
- recipient
- IBinderDeathRecipient
- flags
- Int32
- Attributes
Exceptions
if the target IBinder's process has already died.
Remarks
Java documentation for android.os.IBinder.linkToDeath(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.