onSensorEnableChange

open fun onSensorEnableChange(sType: SensorType, isEnabled: Boolean)

Override this function to be notified when a sensor enable state was changed

Parameters

sType

the sensor type

isEnabled

true if the sensor is enabled, otherwise false

See also