Android.OS.Binder.Transact Method
Default implementation rewinds the parcels and calls onTransact.

Syntax

[Android.Runtime.Register("transact", "(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z", "")]
public bool Transact (int code, Parcel data, Parcel reply, TransactionFlags flags)

Parameters

code
The action to perform. This should be a number between BinderConsts.FirstCallTransaction and BinderConsts.LastCallTransaction.
data
Marshalled data to send to the target. Must not be null. If you are not sending any data, you must create an empty Parcel that is given here.
reply
Marshalled data to be received from the target. May be null if you are not interested in the return value.
flags
Additional operation flags. Either 0 for a normal RPC, or BinderConsts.FlagOneway for a one-way RPC.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Android.OS.RemoteException

Remarks

Default implementation rewinds the parcels and calls onTransact. On the remote side, transact calls into the binder to do the IPC.

[Android Documentation]

Requirements

Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1