Compartilhar via


ContentProvider.RestoreCallingIdentity Method

Definition

Restore the identity of the incoming IPC on the current thread back to a previously identity that was returned by #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

Parameters

Attributes

Remarks

Java documentation for android.content.ContentProvider.restoreCallingIdentity(android.content.CallingIdentity).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to