ContentProvider.RestoreCallingIdentity 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將當前執行緒中接收的 IPC 身份恢復回先前由 #clearCallingIdentity返回的身份。
[Android.Runtime.Register("restoreCallingIdentity", "(Landroid/content/ContentProvider$CallingIdentity;)V", "", ApiSince=29)]
public void RestoreCallingIdentity(Android.Content.ContentProvider.CallingIdentity identity);
[<Android.Runtime.Register("restoreCallingIdentity", "(Landroid/content/ContentProvider$CallingIdentity;)V", "", ApiSince=29)>]
member this.RestoreCallingIdentity : Android.Content.ContentProvider.CallingIdentity -> unit
參數
- identity
- ContentProvider.CallingIdentity
此值不可能是空值。
- 屬性
備註
Java 文件 android.content.ContentProvider.restoreCallingIdentity(android.content.CallingIdentity)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。