蓝牙库代理
IDOBleDelegate
方法
scanResult(list:)
搜索设备结果
- Parameters:
- list: 扫描到的设备列表 [IDODeviceModel]
bluetoothState(state:)
蓝牙状态
- Parameters:
- state: IDOBluetoothStateModel
deviceState(state:)
设备状态状态
- Parameters:
- state: IDODeviceStateModel
receiveData(data:)
收到数据
- Parameters:
- state: IDOReceiveData
stateBT(isPair:)
bt状态(android)
- Parameters:
- isPair: Boolean