RobotKit API
|
Abstract class that represents a response for a command. More...
#import <RKDeviceResponse.h>
Properties | |
NSInteger | code |
BOOL | propertiesValid |
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.
- (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.