public interface SKSensorInterface
Modifier and Type | Method and Description |
---|---|
SKSensorType |
getSensorType() |
boolean |
isSensing() |
void |
startSensing() |
void |
stopSensing() |
void |
subscribeSensorDataListener(SKSensorDataListener callback) |
void |
unsubscribeAllSensorDataListeners() |
void |
unsubscribeSensorDataListener(SKSensorDataListener callback) |
SKSensorType getSensorType()
void startSensing() throws SKException
SKException
void stopSensing()
boolean isSensing()
void subscribeSensorDataListener(SKSensorDataListener callback) throws SKException
SKException
void unsubscribeSensorDataListener(SKSensorDataListener callback) throws SKException
SKException
void unsubscribeAllSensorDataListeners() throws SKException
SKException