蓝牙通讯组件
继承层次
命名空间:
Smobiler.Plugins
程序集:
Smobiler.Plugins (在 Smobiler.Plugins.dll 中) 版本:6.0.641.16928
语法public class Bluetooth : MobileComponent
Public Class Bluetooth
Inherits MobileComponent
Bluetooth 类型公开以下成员。
构造函数
属性
方法
| 名称 | 说明 |
---|
![公共方法 公共方法](../icons/pubmethod.gif) | Close |
关闭蓝牙
|
![公共方法 公共方法](../icons/pubmethod.gif) | CloseAllConnect |
断开连接上的所有经典蓝牙设备(IsReset为false时有效)
|
![公共方法 公共方法](../icons/pubmethod.gif) | CloseAllConnectBle |
断开连接上的所有低功耗蓝牙设备(IsReset为false时有效)
|
![公共方法 公共方法](../icons/pubmethod.gif) | CloseConnect(ComponentOnResultHandler) |
断开连接上的经典蓝牙设备
|
![公共方法 公共方法](../icons/pubmethod.gif) | CloseConnect(String, ComponentOnResultHandler) |
断开连接上的指定经典蓝牙设备
|
![公共方法 公共方法](../icons/pubmethod.gif) | CloseConnectBle(ComponentOnResultHandler) |
断开连接上的低功耗蓝牙设备
|
![公共方法 公共方法](../icons/pubmethod.gif) | CloseConnectBle(String, ComponentOnResultHandler) |
断开连接上的指定低功耗蓝牙设备
|
![公共方法 公共方法](../icons/pubmethod.gif) | Connect |
连接指定经典蓝牙
|
![公共方法 公共方法](../icons/pubmethod.gif) | ConnectBle |
连接指定低功耗蓝牙
|
![公共方法 公共方法](../icons/pubmethod.gif) | ConnectWithSearch |
连接指定经典蓝牙,在未配对的情况下会尝试搜索连接
|
![公共方法 公共方法](../icons/pubmethod.gif) | GetBleStatus |
获取低功耗蓝牙连接状态
|
![公共方法 公共方法](../icons/pubmethod.gif) | GetStatus |
获取经典蓝牙连接状态
|
![公共方法 公共方法](../icons/pubmethod.gif) | iOSCloseConnectBle |
iOS断开连接上的指定低功耗蓝牙设备
|
![公共方法 公共方法](../icons/pubmethod.gif) | iOSConnectBle |
iOS连接指定低功耗蓝牙
|
![公共方法 公共方法](../icons/pubmethod.gif) | iOSDiscoverUuid |
iOS搜索指定已连接设备的服务
|
![公共方法 公共方法](../icons/pubmethod.gif) | iOSReadBleData |
iOS读取蓝牙设备数据
|
![公共方法 公共方法](../icons/pubmethod.gif) | iOSScanAndConnectBle |
iOS扫描并连接指定的低功耗蓝牙
|
![公共方法 公共方法](../icons/pubmethod.gif) | iOSSearchBle |
iOS查找低功耗蓝牙
|
![公共方法 公共方法](../icons/pubmethod.gif) | iOSStartNotification |
iOS打开蓝牙的订阅(只有开启订阅才可以进行读写操作)
|
![公共方法 公共方法](../icons/pubmethod.gif) | iOSStopNotification |
iOS关闭蓝牙的订阅
|
![公共方法 公共方法](../icons/pubmethod.gif) | iOSWriteBleData |
iOS向蓝牙设备写数据
|
![公共方法 公共方法](../icons/pubmethod.gif) | Open |
打开蓝牙
|
![公共方法 公共方法](../icons/pubmethod.gif) | Search |
查找并连接经典蓝牙
|
![公共方法 公共方法](../icons/pubmethod.gif) | SearchBle |
查找并连接低功耗蓝牙
|
![公共方法 公共方法](../icons/pubmethod.gif) | WriteBleData(Byte, BluetoothBleResponse, ComponentOnResultHandler) |
发送低功耗蓝牙信息
|
![公共方法 公共方法](../icons/pubmethod.gif) | WriteBleData(String, Byte, BluetoothBleResponse, ComponentOnResultHandler) |
发送低功耗蓝牙信息
|
![公共方法 公共方法](../icons/pubmethod.gif) | WriteBleDataAll |
给所有设备发送低功耗蓝牙信息(IsReset为false时有效)
|
![公共方法 公共方法](../icons/pubmethod.gif) | WriteData(Byte, ComponentOnResultHandler) |
发送经典蓝牙信息
|
![公共方法 公共方法](../icons/pubmethod.gif) | WriteData(String, Byte, ComponentOnResultHandler) |
发送经典蓝牙信息
|
![公共方法 公共方法](../icons/pubmethod.gif) | WriteDataAll |
给所有设备发送经典蓝牙信息(IsReset为false时有效)
|
Top
事件
参见