Java android.os Binder fields, constructors, methods, implement or subclass

Example usage for Java android.os Binder fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.os Binder.

The text is from its open source code.

Subclass

android.os.Binder has subclasses.
Click this link to see all its subclasses.

Implementation

android.os.Binder has the following implementations.
Click this link to see all its implementation.

Constructor

Binder()
Default constructor initializes the object.

Method

voidattachInterface(@Nullable IInterface owner, @Nullable String descriptor)
Convenience method for associating a specific interface with the Binder.
longclearCallingIdentity()
Reset the identity of the incoming IPC on the current thread.
intgetCallingPid()
Return the ID of the process that sent you the current transaction that is being processed.
intgetCallingUid()
Return the Linux uid assigned to the process that sent you the current transaction that is being processed.
UserHandlegetCallingUserHandle()
Return the UserHandle assigned to the process that sent you the current transaction that is being processed.
voidrestoreCallingIdentity(long token)
Restore the identity of the incoming IPC on the current thread back to a previously identity that was returned by #clearCallingIdentity .