get Sensor State From Device
fun getSensorStateFromDevice(owner: LifecycleOwner, device: BleDevice?, stateCallback: SensorStateCallback)
Retrieves the sensor state from a Bluetooth device
Parameters
owner
The LifecycleOwner used to manage the sensor state retrieval lifecycle
device
The Bluetooth device from which to retrieve the sensor state
state Callback
The callback for handling the retrieved sensor state