点击或拖拽改变大小

Bluetooth 方法

Bluetooth 类型公开以下成员。

方法
  名称说明
公共方法Close
关闭蓝牙
公共方法CloseAllConnect
断开连接上的所有经典蓝牙设备(IsReset为false时有效)
公共方法CloseAllConnectBle
断开连接上的所有低功耗蓝牙设备(IsReset为false时有效)
公共方法CloseConnect(ComponentOnResultHandler)
断开连接上的经典蓝牙设备
公共方法CloseConnect(String, ComponentOnResultHandler)
断开连接上的指定经典蓝牙设备
公共方法CloseConnectBle(ComponentOnResultHandler)
断开连接上的低功耗蓝牙设备
公共方法CloseConnectBle(String, ComponentOnResultHandler)
断开连接上的指定低功耗蓝牙设备
公共方法Connect
连接指定经典蓝牙
公共方法ConnectBle
连接指定低功耗蓝牙
公共方法ConnectWithSearch
连接指定经典蓝牙,在未配对的情况下会尝试搜索连接
公共方法GetBleStatus
获取低功耗蓝牙连接状态
公共方法GetStatus
获取经典蓝牙连接状态
公共方法iOSCloseConnectBle
iOS断开连接上的指定低功耗蓝牙设备
公共方法iOSConnectBle
iOS连接指定低功耗蓝牙
公共方法iOSDiscoverUuid
iOS搜索指定已连接设备的服务
公共方法iOSReadBleData
iOS读取蓝牙设备数据
公共方法iOSScanAndConnectBle
iOS扫描并连接指定的低功耗蓝牙
公共方法iOSSearchBle
iOS查找低功耗蓝牙
公共方法iOSStartNotification
iOS打开蓝牙的订阅(只有开启订阅才可以进行读写操作)
公共方法iOSStopNotification
iOS关闭蓝牙的订阅
公共方法iOSWriteBleData
iOS向蓝牙设备写数据
公共方法Open
打开蓝牙
公共方法Search
查找并连接经典蓝牙
公共方法SearchBle
查找并连接低功耗蓝牙
公共方法WriteBleData(Byte, BluetoothBleResponse, ComponentOnResultHandler)
发送低功耗蓝牙信息
公共方法WriteBleData(String, Byte, BluetoothBleResponse, ComponentOnResultHandler)
发送低功耗蓝牙信息
公共方法WriteBleDataAll
给所有设备发送低功耗蓝牙信息(IsReset为false时有效)
公共方法WriteData(Byte, ComponentOnResultHandler)
发送经典蓝牙信息
公共方法WriteData(String, Byte, ComponentOnResultHandler)
发送经典蓝牙信息
公共方法WriteDataAll
给所有设备发送经典蓝牙信息(IsReset为false时有效)
Top
参见