IBinder Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Base interface for a remotable object, the core part of a lightweight remote procedure call mechanism designed for high performance when performing in-process and cross-process calls.
[Android.Runtime.Register("android/os/IBinder", "", "Android.OS.IBinderInvoker")]
public interface IBinder : Android.Runtime.IJavaObject, IDisposable, Java.Interop.IJavaPeerable
[<Android.Runtime.Register("android/os/IBinder", "", "Android.OS.IBinderInvoker")>]
type IBinder = interface
interface IJavaObject
interface IDisposable
interface IJavaPeerable
- Derived
- Attributes
- Implements
Remarks
Java documentation for android.os.IBinder.
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.
Fields
| DumpTransaction |
IBinder protocol transaction code: dump internal state. |
| FirstCallTransaction |
The first transaction code available for user commands. |
| InterfaceTransaction |
IBinder protocol transaction code: interrogate the recipient side of the transaction for its canonical interface descriptor. |
| LastCallTransaction |
The last transaction code available for user commands. |
| LikeTransaction |
IBinder protocol transaction code: tell an app asynchronously that the caller likes it. |
| PingTransaction |
IBinder protocol transaction code: pingBinder(). |
| TweetTransaction |
IBinder protocol transaction code: send a tweet to the target object. |
Properties
| Handle |
Gets the JNI value of the underlying Android object. (Inherited from IJavaObject) |
| InterfaceDescriptor |
Get the canonical name of the interface supported by this binder. |
| IsBinderAlive |
Check to see if the process that the binder is in is still alive. |
| JniIdentityHashCode | (Inherited from IJavaPeerable) |
| JniManagedPeerState | (Inherited from IJavaPeerable) |
| JniPeerMembers | (Inherited from IJavaPeerable) |
| PeerReference | (Inherited from IJavaPeerable) |
| SuggestedMaxIpcSizeBytes |
Limit that should be placed on IPC sizes, in bytes, to keep them safely under the transaction buffer limit. |
Methods
| Disposed() | (Inherited from IJavaPeerable) |
| DisposeUnlessReferenced() | (Inherited from IJavaPeerable) |
| Dump(FileDescriptor, String[]) |
Print the object's state into the given stream. |
| DumpAsync(FileDescriptor, String[]) |
Like |
| Finalized() | (Inherited from IJavaPeerable) |
| LinkToDeath(IBinderDeathRecipient, Int32) |
Register the recipient for a notification if this binder goes away. |
| PingBinder() |
Check to see if the object still exists. |
| QueryLocalInterface(String) |
Attempt to retrieve a local implementation of an interface for this Binder object. |
| SetJniIdentityHashCode(Int32) | (Inherited from IJavaPeerable) |
| SetJniManagedPeerState(JniManagedPeerStates) | (Inherited from IJavaPeerable) |
| SetPeerReference(JniObjectReference) | (Inherited from IJavaPeerable) |
| Transact(Int32, Parcel, Parcel, TransactionFlags) |
Perform a generic operation with the object. |
| UnlinkToDeath(IBinderDeathRecipient, Int32) |
Remove a previously registered death notification. |
| UnregisterFromRuntime() | (Inherited from IJavaPeerable) |
Extension Methods
| JavaCast<TResult>(IJavaObject) |
Performs an Android runtime-checked type conversion. |
| JavaCast<TResult>(IJavaObject) | |
| GetJniTypeName(IJavaPeerable) | |