RobotKit API
|
Represents the robot connection data and physical properties. More...
#import <RKRobot.h>
Public Member Functions | |
(id) | - initWithAccessory: |
(BOOL) | - isEqualToRobot: |
Properties | |
EAAccessory * | accessory |
NSString * | name |
NSString * | bluetoothAddress |
BOOL | supportsVectorCommand |
A RKRobot object provides the data needed to connect to a robotic data along physical properties associated with the device.
- (id) initWithAccessory: | (EAAccessory *) | anAccessory |
Initializes with a EAAccesory object for the robot.
anAccessory | A EAAccesory object for the robot. |
- (BOOL) isEqualToRobot: | (RKRobot *) | robot |
Test that the robot object is equal to this robot which means the represent the same device.
robot | The other robot object. |
- (EAAccessory *) accessory [read, assign] |
The EAAccessory object that is associated with the robot
- (NSString *) bluetoothAddress [read, assign] |
The bluetooth MAC address for the robot
- (NSString *) name [read, write, retain] |
A product name for the robot
- (BOOL) supportsVectorCommand [read, assign] |
Robot has firmware support for vector command. The default value is NO.