Companion

Properties

Link copied to clipboard

Quiet period after a reported shake, so one gesture reports once.

Link copied to clipboard

How long a gesture must last before it is reported.

Link copied to clipboard

Shakes a gesture needs: three back-and-forth movements.

Link copied to clipboard
const val DEFAULT_THRESHOLD_G: Float = 2.5f

Acceleration, in multiples of gravity, above which the device counts as shaking.