語言

Binder.UnlinkToDeath(IBinderDeathRecipient, Int32) 方法

定義

在地實施是一項 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

參數

recipient
IBinderDeathRecipient

該值不可能為零。

flags
Int32

旗標會傳遞給實作。 預設實作會忽略這些。

傳回

預設實作會回傳 true ,但不會解除綁定收件人。

實作

屬性

備註

Java 文件 android.os.Binder.unlinkToDeath(android.os.DeathRecipient, int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於