CSSensor Class Reference
Inherits from | NSObject |
---|---|
Declared in | CSSensor.h |
dataStore
The data store the sensor commits its obtained values to
@property id dataStore
Declared In
CSSensor.h
– matchesDescription:
Method to check wether the sensor matches the given description of the sensor
- (BOOL)matchesDescription:(NSDictionary *)description
Declared In
CSSensor.h
– enabledChanged:
Method that will be invoked when the sensor is enabled/disabled
- (void)enabledChanged:(id)notification
Declared In
CSSensor.h
– sensorDescription
Returns the description of the sensor
- (NSDictionary *)sensorDescription
Declared In
CSSensor.h
– sensorId
Returns the sensor id of the sensor, a unique name that is used by the library to uniquely identify the sensor. This is NOT the id of the sensor in Common Sense
- (NSString *)sensorId
Declared In
CSSensor.h
+ sensorIdFromName:andDeviceType:andDevice:
Create sensor id
+ (NSString *)sensorIdFromName:(NSString *)name andDeviceType:(NSString *)deviceType andDevice:(NSDictionary *)device
Declared In
CSSensor.h
+ sensorNameFromSensorId:
Extract sensor name from the sensor id
+ (NSString *)sensorNameFromSensorId:(NSString *)sensorId
Declared In
CSSensor.h
+ sensorDescriptionFromSensorId:
extract sensor description from the sensor id
+ (NSString *)sensorDescriptionFromSensorId:(NSString *)sensorId
Declared In
CSSensor.h
+ sensorDeviceTypeFromSensorId:
extract sensor device type from the sensor id
+ (NSString *)sensorDeviceTypeFromSensorId:(NSString *)sensorId
Declared In
CSSensor.h
+ sensorDeviceUUIDFromSensorId:
extract sensor device uuid from the sensor id
+ (NSString *)sensorDeviceUUIDFromSensorId:(NSString *)sensorId
Declared In
CSSensor.h