orbotix.robot.base
Class GetBluetoothInfoResponse
java.lang.Object
orbotix.robot.base.DeviceMessage
orbotix.robot.base.DeviceResponse
orbotix.robot.base.GetBluetoothInfoResponse
- All Implemented Interfaces:
- android.os.Parcelable
public class GetBluetoothInfoResponse
- extends DeviceResponse
Class that encapsulates the response from a GetBluetoothInfoCommand.
Nested classes/interfaces inherited from interface android.os.Parcelable |
android.os.Parcelable.Creator |
Field Summary |
static android.os.Parcelable.Creator |
CREATOR
|
Fields inherited from class orbotix.robot.base.DeviceResponse |
RESPONSE_CODE_ERROR_BAD_COMMAND, RESPONSE_CODE_ERROR_BAD_MESSAGE, RESPONSE_CODE_ERROR_CHECKSUM, RESPONSE_CODE_ERROR_EXECUTE, RESPONSE_CODE_ERROR_FRAGMENT, RESPONSE_CODE_ERROR_GENERAL, RESPONSE_CODE_ERROR_PARAMETER, RESPONSE_CODE_ERROR_TIME_OUT, RESPONSE_CODE_ERROR_UNSUPPORTED, RESPONSE_CODE_MAIN_APP_CORRUPT, RESPONSE_CODE_OK |
Fields inherited from interface android.os.Parcelable |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CREATOR
public static final android.os.Parcelable.Creator CREATOR
GetBluetoothInfoResponse
public GetBluetoothInfoResponse(DeviceCommand command,
byte code,
byte[] data)
getName
public java.lang.String getName()
getAddress
public java.lang.String getAddress()
describeContents
public int describeContents()
writeToParcel
public void writeToParcel(android.os.Parcel dest,
int flags)
- Specified by:
writeToParcel
in interface android.os.Parcelable
- Overrides:
writeToParcel
in class DeviceResponse