|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorbotix.robot.base.DeviceMessage
orbotix.robot.base.DeviceResponse
orbotix.robot.base.SleepResponse
public class SleepResponse
Class that encapsulates a response for a SleepCommand.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface android.os.Parcelable |
|---|
android.os.Parcelable.Creator |
| Field Summary | |
|---|---|
static android.os.Parcelable.Creator |
CREATOR
|
| Fields inherited from interface android.os.Parcelable |
|---|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE |
| Constructor Summary | |
|---|---|
SleepResponse(DeviceCommand command,
byte code,
byte[] data)
Class to encapsulate a response to a SleepCommmand. |
|
| Method Summary | |
|---|---|
int |
describeContents()
|
| Methods inherited from class orbotix.robot.base.DeviceResponse |
|---|
getCode, getIsDataCorrupt, writeToParcel |
| Methods inherited from class orbotix.robot.base.DeviceMessage |
|---|
getTimeStamp |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final android.os.Parcelable.Creator CREATOR
| Constructor Detail |
|---|
public SleepResponse(DeviceCommand command,
byte code,
byte[] data)
command - The original command for the response.code - The response code returned by the robot.data - The data returned with the response, which should be null for a sleep command.| Method Detail |
|---|
public int describeContents()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||