QNBleDeviceDiscoveryListener

Scanning device listening callback class

Method

onDeviceDiscover

Parameters

name Types of Explanation
device QNBleDevice Scanned Bluetooth device

onBroadcastDeviceDiscover

Callback of broadcast scale equipment related information

The SDK will return the device information that can scan all the surrounding broadcast scales, and the app needs to process this information by itself

At the same time, in order to be compatible with customers who have access to the broadcast scale, the device information of the callback broadcast scale in the original onDeviceDiscover method will remain unchanged. It is strongly recommended that customers who have access to the broadcast scale use this API

Parameters

name Types of Explanation
device QNBleBroadcastDevice Scan to broadcast scale

onKitchenDeviceDiscover

Callback of information about kitchen scale equipment

The SDK will return the device information that can scan all the kitchen scales around, and the app needs to process this information by itself

Parameters

name Types of Explanation
device QNBleKitchenDevice Scan to kitchen scale

onStartScan

This method is triggered after a successful scan start

onStopScan

Callback after stopping scanning

This callback will be triggered after automatic stop (timed) or stop by calling stopScan

onScanFail

Callback if no scan is successful (only Android will have this callback)

Parameters

name Types of Explanation
code int Refer to Scan Status Code

results matching ""

    No results matching ""