Shake Detector
class ShakeDetector @JvmOverloads constructor(shakeListener: ShakeDetector.ShakeListener, minNumShakes: Int = 1) : SensorEventListener
Listens for the user shaking their phone. Allocation-less once it starts listening.
Listens for the user shaking their phone. Allocation-less once it starts listening.