CSScreenSensor Class Reference
Inherits from | CSSensor : NSObject |
---|---|
Declared in | CSScreenSensor.h |
Overview
Sensor storing screen activity data. Currently stores whether the is turned on or turned off. This sensor is event based and only stores data upon changes.
JSON output value format
{
"screen": STRING; //"on", "off"
}
– commitDisplayState:
Stores state of the screen.
- (void)commitDisplayState:(const NSString *)state
Parameters
state |
Describing state of the screen according to the identifiers specified above. |
---|
Declared In
CSScreenSensor.h