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返回的身份。
Java 文件 android.os.Binder.restoreCallingIdentity(long)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。