Android.OS.Binder Members

The members of Android.OS.Binder are listed below.

See Also: Inherited members from Java.Lang.Object

Public Constructors

Default constructor initializes the object.

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

[read-only]
static
CallingPidint. Return the ID of the process that sent you the current transaction that is being processed.
[read-only]
static
CallingUidint. Return the Linux uid assigned to the process that sent you the current transaction that is being processed.
[read-only]
static
CallingUserHandleUserHandle. Return the UserHandle assigned to the process that sent you the current transaction that is being processed.
[read-only]
InterfaceDescriptorstring. Default implementation returns an empty interface name.
[read-only]
IsBinderAlivebool. Check to see if the process that the binder is in is still alive.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

AttachInterface(IInterface, string)
Convenience method for associating a specific interface with the Binder.
static
ClearCallingIdentity() : long
Reset the identity of the incoming IPC on the current thread.
Dump(Java.IO.FileDescriptor, string[])
Implemented to call the more convenient version Binder.Dump(Java.IO.FileDescriptor, Java.IO.PrintWriter, Java.IO.PrintWriter).
DumpAsync(Java.IO.FileDescriptor, string[])
Like Binder.Dump(Java.IO.FileDescriptor, System.String[]), but ensures the target executes asynchronously.
static
FlushPendingCommands()
Flush any Binder commands pending in the current thread to the kernel driver.
static
JoinThreadPool()
Add the calling thread to the IPC thread pool.
LinkToDeath(IBinderDeathRecipient, int)
Local implementation is a no-op.
PingBinder() : bool
Default implementation always returns true -- if you got here, the object is alive.
QueryLocalInterface(string) : IInterface
Use information supplied to attachInterface() to return the associated IInterface if it matches the requested descriptor.
static
RestoreCallingIdentity(long)
Restore the identity of the incoming IPC on the current thread back to a previously identity that was returned by Binder.ClearCallingIdentity.
Transact(int, Parcel, Parcel, TransactionFlags) : bool
Default implementation rewinds the parcels and calls onTransact.
UnlinkToDeath(IBinderDeathRecipient, int) : bool
Local implementation is a no-op.

Protected Methods

Dump(Java.IO.FileDescriptor, Java.IO.PrintWriter, string[])
Print the object's state into the given stream.
OnTransact(int, Parcel, Parcel, int) : bool
Default implementation is a stub that returns false.