RobotKit API
Properties
RKDeviceSensorsAsyncData Class Reference

Class that contains all the sample frames objects from a streaming data packet. More...

#import <RKDeviceSensorsAsyncData.h>

Inheritance diagram for RKDeviceSensorsAsyncData:
RKDeviceAsyncData RKDeviceMessage

List of all members.

Properties

NSUInteger frameCount
NSUInteger mask
NSArray * dataFrames

Detailed Description

Objects of this class are generated asynchronously from data sent by Sphero and are distributed to observers who register with the RKDeviceMessenger singleton. The data streaming is inititated using RKSetDataStreamingCommand using a mask to specify the sensor data to send, the rate in which to send data, and the number of samples to send in each packet. This class provides this data in an array of RKDeviceSensorData objects for the sensor data requested.

See also:
RKDeviceMessenger
RKSetDataStreamingCommand

Property Documentation

- (NSArray*) dataFrames [read, assign]

An array of RKDeviceSensorData objects with each sample frame returned.

- (NSUInteger) frameCount [read, assign]

Number of sample frames returned in the packet.

- (NSUInteger) mask [read, assign]

The mask used to enable what data to include in the data.


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