Code example for Parcel

Methods: writeInt, writeNoException

0
} 
case TRANSACTION_isRunning:
{ 
data.enforceInterface(DESCRIPTOR);
boolean _result = this.isRunning();
reply.writeNoException();
reply.writeInt(((_result)?(1):(0)));
return true; 
} 
case TRANSACTION_submitClassification:
{ 
data.enforceInterface(DESCRIPTOR);
java.lang.String _arg0;
_arg0 = data.readString();
this.submitClassification(_arg0);
reply.writeNoException();
return true; 
} 
case TRANSACTION_getClassifications:
{ 
data.enforceInterface(DESCRIPTOR);
java.util.List<uk.co.md87.android.activityrecorder.rpc.Classification> _result = this.getClassifications();
reply.writeNoException();
reply.writeTypedList(_result);
return true; 
} 
} 
return super.onTransact(code, data, reply, flags);