public class Aur720BScanner extends BaseScanner
This class is used to scan and create AUR720B.
BaseScanner.PacketException
Constructor and Description |
---|
Aur720BScanner(android.content.Context context) |
Modifier and Type | Method and Description |
---|---|
protected byte[] |
getBroadcastMessage() |
protected BaseDevice |
parseBleReceive(android.bluetooth.BluetoothDevice bluetoothDevice,
android.content.Context context) |
void |
setScannerCallback(ScannerCallback callback)
Set the callback of scanning AUR720B.
|
getCurrentCommunicationType, initBleScanChannel, initSupportCommunicationType, initUdpScanChannel, initUsbScanChannel, onDestroy, onScanStop, parseUdpReceive, parseUsbReceive, setCommunicationType, setScanDebugCallback, startScan, startScan, stopScan
public void setScannerCallback(ScannerCallback callback)
setScannerCallback
in class BaseScanner
callback
- This callback would trigger when AUR720B is found.protected BaseDevice parseBleReceive(android.bluetooth.BluetoothDevice bluetoothDevice, android.content.Context context) throws java.lang.Exception
parseBleReceive
in class BaseScanner
java.lang.Exception
protected byte[] getBroadcastMessage()
getBroadcastMessage
in class BaseScanner