onSensorChanged

open override fun onSensorChanged(event: SensorEvent?)

Listens to SensorEvents and calls onOrientationChanged when the device orientation changes.

Parameters

event