CSConnectionSensor Class Reference
Inherits from | CSSensor : NSObject |
---|---|
Declared in | CSConnectionSensor.h |
Overview
Sensor storing connectivity data. Currently stores whether there is WiFi, Cell, or No connection. This sensor is event based and only stores data upon changes.
JSON output value format
"value": STRING; //"none", "mobile", "wifi"
– reachabilityChanged:
Method that processes a new reachability (connection) state.
- (void)reachabilityChanged:(NSNotification *)note
Parameters
note |
Notification containing the new state. |
---|
Declared In
CSConnectionSensor.h