Android.OS.IBinder.Transact Method
Perform a generic operation with the object.

Syntax

[Android.Runtime.Register("transact", "(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z", "GetTransact_ILandroid_os_Parcel_Landroid_os_Parcel_IHandler:Android.OS.IBinderInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool Transact (int code, Parcel data, Parcel reply, [Android.Runtime.GeneratedEnum] 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

Perform a generic operation with the object.

[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