QNBleRulerListener
Device Link Status Measurement Data Listener
onRulerDeviceDiscover
When the perimeter ruler is found, it will call back immediately after scanning the perimeter ruler device.
Parameters
name | Types of | Explanation |
---|---|---|
device | QNBleRulerDevice | QNBleRuler |
onRulerConnecting
The device is connecting, the callback is called as soon as the device is connected
Parameters
name | Types of | Explanation |
---|---|---|
device | QNBleRulerDevice | QNBleRuler |
onRulerConnected
Device connected successfully
Parameters
name | Types of | Explanation |
---|---|---|
device | QNBleRulerDevice | ruler |
onRulerDisconnected
bluetooth disconnected
Parameters
name | Types of | Explanation |
---|---|---|
device | QNBleRulerDevice | ruler |
onRulerConnectFail
A connection error occurred
Parameters
name | Types of | Explanation |
---|---|---|
device | QNBleRulerDevice | ruler |
onGetReceiveRealTimeData
real-time measurement data
Parameters
name | Types of | Explanation |
---|---|---|
data | QNBleRulerData | data |
device | QNBleRulerDevice | ruler |
onGetReceiveResultData
User confirms measurement data
Parameters
name | Types of | Explanation |
---|---|---|
data | QNBleRulerData | data |
device | QNBleRulerDevice | ruler |