Binder.RestoreCallingIdentity(Int64) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将当前线程上传入 IPC 的标识还原回以前返回的 #clearCallingIdentity
标识。
[Android.Runtime.Register("restoreCallingIdentity", "(J)V", "")]
public static void RestoreCallingIdentity (long token);
[<Android.Runtime.Register("restoreCallingIdentity", "(J)V", "")>]
static member RestoreCallingIdentity : int64 -> unit
参数
- token
- Int64
以前由 #clearCallingIdentity
该令牌返回的不透明标记。
- 属性
注解
将当前线程上传入 IPC 的标识还原回以前返回的 #clearCallingIdentity
标识。
适用于 . 的 android.os.Binder.restoreCallingIdentity(long)
Java 文档
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。