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