Package-level declarations
Types
Link copied to clipboard
class IssueReporterShakeManager(application: Application, config: IssueReporterConfig) : Application.ActivityLifecycleCallbacks
Turns a shake of the device into the issue reporter, for every activity in the app.
Link copied to clipboard
class ShakeDetector(sensorManager: SensorManager?, threshold: Float = DEFAULT_THRESHOLD_G, minimumShakes: Int = DEFAULT_MINIMUM_SHAKES, minimumDurationMillis: Long = DEFAULT_MINIMUM_DURATION_MILLIS, cooldownMillis: Long = DEFAULT_COOLDOWN_MILLIS, elapsedRealtime: () -> Long = SystemClock::elapsedRealtime, onShake: () -> Unit) : SensorEventListener
Reports a deliberate, repeated shake of the device.