public class SKBattery extends SKAbstractSensor
isSensing, mApplicationContext, mSensorDataListeners, mSensorType
Constructor and Description |
---|
SKBattery(Context context) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
shouldPostSensorData(SKAbstractData data) |
void |
startSensing() |
void |
stopSensing() |
getSensorName, getSensorType, isSensing, submitSensorData, subscribeSensorDataListener, unsubscribeAllSensorDataListeners, unsubscribeSensorDataListener
public SKBattery(Context context) throws SKException
SKException
public void startSensing()
public void stopSensing()
protected boolean shouldPostSensorData(SKAbstractData data)
shouldPostSensorData
in class SKAbstractSensor