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
SKExceptionvoid stopSensing()
boolean isSensing()
void subscribeSensorDataListener(SKSensorDataListener callback) throws SKException
SKExceptionvoid unsubscribeSensorDataListener(SKSensorDataListener callback) throws SKException
SKExceptionvoid unsubscribeAllSensorDataListeners()
throws SKException
SKException