RobotKit API
Properties
RKDeviceResponse Class Reference

Abstract class that represents a response for a command. More...

#import <RKDeviceResponse.h>

Inheritance diagram for RKDeviceResponse:
RKDeviceMessage RKBackLEDOutputResponse RKCalibrateResponse RKGetBluetoothInfoResponse RKGoToSleepResponse RKJumpToBootloaderResponse RKJumpToMainAppResponse RKPingResponse RKRawMotorValuesResponse RKRGBLEDOutputResponse RKRollResponse RKRotationRateResponse RKSetDataStreamingResponse RKStabilizationResponse RKVersioningResponse

List of all members.

Properties

NSInteger code
BOOL propertiesValid

Detailed Description

Response objects are created by the framework from response data received for a command sent to a robot. Client code can register callbacks with the RKDeviceMessenger singleton to check error codes and handle parameters received in the response.

See also:
RKDeviceCommand
RKDeviceMessenger

Property Documentation

- (NSInteger) code [read, assign]

The response code returned from the robot.

- (BOOL) propertiesValid [read, assign]

Indicates that the properties return in the response are valid. The default value is YES. This will get set to NO if the response returned with a error.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties