语言

Binder.IsBinderAlive 属性

定义

要添加

        Note that if you're calling on a local binder, this always returns true
        because your process is alive if you're calling it.
public virtual bool IsBinderAlive { [Android.Runtime.Register("isBinderAlive", "()Z", "GetIsBinderAliveHandler")] get; }
[<get: Android.Runtime.Register("isBinderAlive", "()Z", "GetIsBinderAliveHandler")>]
member this.IsBinderAlive : bool

属性值

绑定器活动值。

实现

特性

注解

要添加

请注意,如果要调用本地联编程序,则始终返回 true,因为如果你正在调用它,则进程处于活动状态。

适用于 . 的 android.os.Binder.isBinderAlive()Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于