语言

ContentProvider.RestoreCallingIdentity 方法

定义

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

此值不能为 null。

特性

注解

Java文档android.content.ContentProvider.restoreCallingIdentity(android.content.CallingIdentity)。

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

适用于