Class SignificantMoveCatcher
-
- All Implemented Interfaces:
-
android.hardware.SensorEventListener
public final class SignificantMoveCatcher implements SensorEventListener
Determines device movements
-
-
Constructor Summary
Constructors Constructor Description SignificantMoveCatcher(Context context)
-
Method Summary
Modifier and Type Method Description final Unit
registerSignificantMoveListener(SignificantMoveListener listener)
Registers SignificantMoveListener
to notify about significant movesfinal Unit
unregisterSignificantMoveListener(SignificantMoveListener listener)
Unregisters SignificantMoveListener
Unit
onSensorChanged(SensorEvent event)
Unit
onAccuracyChanged(Sensor sensor, Integer accuracy)
-
-
Constructor Detail
-
SignificantMoveCatcher
SignificantMoveCatcher(Context context)
-
-
Method Detail
-
registerSignificantMoveListener
final Unit registerSignificantMoveListener(SignificantMoveListener listener)
Registers
SignificantMoveListener
to notify about significant moves
-
unregisterSignificantMoveListener
final Unit unregisterSignificantMoveListener(SignificantMoveListener listener)
Unregisters
SignificantMoveListener
-
onSensorChanged
Unit onSensorChanged(SensorEvent event)
-
onAccuracyChanged
Unit onAccuracyChanged(Sensor sensor, Integer accuracy)
-
-
-
-