Cortex Android
|
Public Member Functions | |
SitStandSensor (String name, SensePlatform sensePlatform) | |
SitStandSensor (SensePlatform sensePlatform) | |
This class is a DataProducer implementation of the SitStand module. The SitStand module determines the pose of the user based on the accelerometer.
This class returns a json object with the structure {"value":"sit", "date":1366876517.12}
Copyright (c) 2013 Sense Observation Systems BV. All rights reserved.
nl.sense_os.cortex.SitStandSensor.SitStandSensor | ( | String | name, |
SensePlatform | sensePlatform | ||
) |
A SitStand data producer will be registered at the Sense Service
under the name supplied with this constructor.
To receive data from this DataProducer, subscription should be done at the Sense Service with the given name.
The DataProcessor persists its state based on the supplied name.
sensePlatform | The SensePlatform |
name | The name of the data processor. Should be unique. |
nl.sense_os.cortex.SitStandSensor.SitStandSensor | ( | SensePlatform | sensePlatform | ) |
A SitStand data producer will be registered at the Sense Service
sensePlatform | The SensePlatform |