Code example for Parcel

Methods: writeIntwriteNoException

0
data.enforceInterface(DESCRIPTOR);
int _arg0;
_arg0 = data.readInt();
this.setState(_arg0);
reply.writeNoException();
return true; 
} 
case TRANSACTION_submitClassification:
{ 
data.enforceInterface(DESCRIPTOR);
java.lang.String _arg0;
_arg0 = data.readString();
this.submitClassification(_arg0);
reply.writeNoException();
return true; 
} 
case TRANSACTION_submit:
{ 
data.enforceInterface(DESCRIPTOR);
this.submit();
reply.writeNoException();
return true; 
} 
case TRANSACTION_submitWithCorrection:
{ 
data.enforceInterface(DESCRIPTOR);
java.lang.String _arg0;
_arg0 = data.readString();
this.submitWithCorrection(_arg0);
reply.writeNoException();
return true; 
} 
case TRANSACTION_getClassification:
{ 
data.enforceInterface(DESCRIPTOR);
java.lang.String _result = this.getClassification();
reply.writeNoException();
reply.writeString(_result);
return true; 
} 
case TRANSACTION_getState:
{ 
data.enforceInterface(DESCRIPTOR);
int _result = this.getState();
reply.writeNoException();
reply.writeInt(_result);
return true; 
} 
case TRANSACTION_getCountdownTime:
{ 
data.enforceInterface(DESCRIPTOR);
int _result = this.getCountdownTime();
reply.writeNoException();
reply.writeInt(_result);
return true; 
} 
} 
return super.onTransact(code, data, reply, flags);
} 
Experience pair programming with AI  Get Codota for Java