-
@Internal() public interface LeakSafeOneWayBinder.TransactionHandler
-
-
Method Summary
Modifier and Type Method Description abstract booleanhandleTransaction(int code, Parcel data)Delivers a binder transaction to this handler. -
-
Method Detail
-
handleTransaction
abstract boolean handleTransaction(int code, Parcel data)
Delivers a binder transaction to this handler.
Implementations need not be thread-safe. Each invocation "happens-before" the next in thesame order that transactions were sent ("oneway" semantics). However implementations must notbe thread-hostile as different calls can come in on different threads.
{@code parcel}is only valid for the duration of this call. Ownership is retained by thecaller.- Parameters:
code- the transaction code originally passed to transact
-
-
-
-