CSUserProximity Class Reference
Inherits from | CSSensor : NSObject |
---|---|
Declared in | CSUserProximity.h |
Overview
Sensor storing proximity data. Currently stores whether the user is close to the device or not. This sensor is event based and only stores data upon changes.
JSON output value format
"value": STRING; //"true", "false"
– commitUserProximity:
Stores new value when state changes.
- (void)commitUserProximity:(NSNotification *)notification
Parameters
notification |
Notification when state changes containing information about the new state. |
---|
Declared In
CSUserProximity.h