语言

Binder.RestoreCallingIdentity(Int64) 方法

定义

将当前线程上传入 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标识。

Java文档android.os.Binder.restoreCallingIdentity(long)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

另请参阅