orbotix.robot.base
Class FrontLEDOutputCommand
java.lang.Object
orbotix.robot.base.DeviceMessage
orbotix.robot.base.DeviceCommand
orbotix.robot.base.FrontLEDOutputCommand
- All Implemented Interfaces:
- android.os.Parcelable
public final class FrontLEDOutputCommand
- extends DeviceCommand
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 |
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
FrontLEDOutputCommand
public FrontLEDOutputCommand(float brightness)
sendCommand
public static void sendCommand(Robot robot,
float brightness)
getBrightness
public float getBrightness()
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 DeviceMessage