Udostępnij za pośrednictwem


Binder.RestoreCallingIdentity(Int64) 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", "(J)V", "")]
public static void RestoreCallingIdentity (long token);
[<Android.Runtime.Register("restoreCallingIdentity", "(J)V", "")>]
static member RestoreCallingIdentity : int64 -> unit

Parameters

token
Int64

The opaque token that was previously returned by #clearCallingIdentity.

Attributes

Remarks

Restore the identity of the incoming IPC on the current thread back to a previously identity that was returned by #clearCallingIdentity.

Java documentation for android.os.Binder.restoreCallingIdentity(long).

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

See also