共用方式為


ContentProvider.ClearCallingIdentity Method

Definition

Reset the identity of the incoming IPC on the current thread.

[Android.Runtime.Register("clearCallingIdentity", "()Landroid/content/ContentProvider$CallingIdentity;", "", ApiSince=29)]
public Android.Content.ContentProvider.CallingIdentity ClearCallingIdentity ();
[<Android.Runtime.Register("clearCallingIdentity", "()Landroid/content/ContentProvider$CallingIdentity;", "", ApiSince=29)>]
member this.ClearCallingIdentity : unit -> Android.Content.ContentProvider.CallingIdentity

Returns

Returns an opaque token that can be used to restore the original calling identity by passing it to #restoreCallingIdentity.

Attributes

Remarks

Java documentation for android.content.ContentProvider.clearCallingIdentity().

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