語言

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)。

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

適用於

另請參閱