Binder.LinkToDeath(IBinderDeathRecipient, Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在地實施是一項 no-op。
[Android.Runtime.Register("linkToDeath", "(Landroid/os/IBinder$DeathRecipient;I)V", "GetLinkToDeath_Landroid_os_IBinder_DeathRecipient_IHandler")]
public virtual void LinkToDeath(Android.OS.IBinderDeathRecipient recipient, int flags);
[<Android.Runtime.Register("linkToDeath", "(Landroid/os/IBinder$DeathRecipient;I)V", "GetLinkToDeath_Landroid_os_IBinder_DeathRecipient_IHandler")>]
abstract member LinkToDeath : Android.OS.IBinderDeathRecipient * int -> unit
override this.LinkToDeath : Android.OS.IBinderDeathRecipient * int -> unit
參數
- recipient
- IBinderDeathRecipient
該值不可能為零。
- flags
- Int32
這些旗幟控制著整個行動。
實作
- 屬性
備註
Java 文件 android.os.Binder.linkToDeath(android.os.DeathRecipient, int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。