共用方式為


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回的身分識別。

android.os.Binder.restoreCallingIdentity(long)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於

另請參閱