onResponse

abstract fun onResponse(state: State?)

Callback method when sensor state is received

Parameters

state

The current state of the sensor