Android.Bluetooth 命名空间
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。
类
| 名称 | 说明 |
|---|---|
| BluetoothA2dp |
此类提供用于控制蓝牙 A2DP 配置文件的公共 API。 |
| BluetoothA2dp.InterfaceConsts |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| BluetoothAdapter |
表示本地设备蓝牙适配器。 |
| BluetoothAssignedNumbers |
蓝牙分配号码。 |
| BluetoothClass |
表示蓝牙类,该类描述设备的一般特性和功能。 |
| BluetoothClass.Device |
根据蓝牙规范定义标准设备类常量。 |
| BluetoothClass.Device.Major |
定义所有主要设备类常量。 |
| BluetoothClass.InterfaceConsts |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| BluetoothClass.Service |
根据蓝牙规范定义标准服务类常量。 |
| BluetoothCodecConfig |
表示蓝牙 A2DP 源设备的编解码器配置。 |
| BluetoothCodecConfig.Builder |
Builder for |
| BluetoothCodecConfig.InterfaceConsts |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| BluetoothCodecStatus |
表示蓝牙 A2DP 源设备的编解码器状态(配置和功能)。 |
| BluetoothCodecStatus.Builder |
Builder for |
| BluetoothCodecStatus.InterfaceConsts |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| BluetoothCodecType |
表示蓝牙 A2DP 设备支持的源代码编解码器类型。 |
| BluetoothCodecType.InterfaceConsts |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| BluetoothCsipSetCoordinator |
此类提供用于控制蓝牙 CSIP 集协调器的公共 API。 |
| BluetoothCsipSetCoordinator.InterfaceConsts |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| BluetoothDevice |
表示远程蓝牙设备。 |
| BluetoothDevice.BluetoothAddress |
蓝牙地址和地址类型的数据类。 |
| BluetoothDevice.BluetoothAddress.InterfaceConsts |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| BluetoothDevice.InterfaceConsts |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| BluetoothGatt |
蓝牙 GATT 配置文件的公共 API。 |
| BluetoothGatt.InterfaceConsts |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| BluetoothGattCallback |
此抽象类用于实现 |
| BluetoothGattCharacteristic |
表示蓝牙 GATT 特征 |
| BluetoothGattCharacteristic.InterfaceConsts |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| BluetoothGattConnectionSettings |
定义用于创建 BluetoothGatt 连接的参数。 |
| BluetoothGattConnectionSettings.Builder |
Builder for |
| BluetoothGattDescriptor |
表示蓝牙 GATT 描述符 |
| BluetoothGattDescriptor.InterfaceConsts |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| BluetoothGattServer |
蓝牙 GATT 配置文件服务器角色的公共 API。 |
| BluetoothGattServer.InterfaceConsts |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| BluetoothGattServerCallback |
此抽象类用于实现 |
| BluetoothGattService |
表示蓝牙 GATT 服务 |
| BluetoothGattService.InterfaceConsts |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| BluetoothHeadset |
用于控制蓝牙耳机服务的公共 API。 |
| BluetoothHeadset.InterfaceConsts |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| BluetoothHealth |
蓝牙运行状况配置文件的公共 API。 |
| BluetoothHealth.InterfaceConsts |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| BluetoothHealthAppConfiguration |
与 |
| BluetoothHealthAppConfiguration.InterfaceConsts |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| BluetoothHealthCallback |
此抽象类用于实现 |
| BluetoothHearingAid |
此类提供用于控制助听器配置文件的公共 API。 |
| BluetoothHearingAid.InterfaceConsts |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| BluetoothHidDevice |
提供用于控制蓝牙 HID 设备配置文件的公共 API。 |
| BluetoothHidDevice.Callback |
应用程序用来对 HID 主机上的事件调用回调函数的模板类。 |
| BluetoothHidDevice.InterfaceConsts |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| BluetoothHidDeviceAppQosSettings |
表示蓝牙 HID 设备应用程序的服务质量(QoS)设置。 |
| BluetoothHidDeviceAppQosSettings.InterfaceConsts |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| BluetoothHidDeviceAppSdpSettings |
表示蓝牙 HID 设备应用程序的服务发现协议(SDP)设置。 |
| BluetoothHidDeviceAppSdpSettings.InterfaceConsts |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| BluetoothLeAudio |
此类提供用于控制 LeAudio 配置文件的公共 API。 |
| BluetoothLeAudio.InterfaceConsts |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| BluetoothLeAudioCodecConfig |
表示蓝牙 LE 音频源设备的编解码器配置。 |
| BluetoothLeAudioCodecConfig.Builder |
Builder for |
| BluetoothLeAudioCodecConfig.InterfaceConsts |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| BluetoothLeAudioCodecStatus |
表示蓝牙 Le Audio 源设备的编解码器状态(配置和功能)。 |
| BluetoothLeAudioCodecStatus.InterfaceConsts |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| BluetoothManager |
高级经理用于获取一个 |
| BluetoothProfile |
蓝牙配置文件的公共 API。 |
| BluetoothServerSocket |
侦听蓝牙套接字。 |
| BluetoothSocket |
已连接或连接蓝牙套接字。 |
| BluetoothSocketException |
当蓝牙套接字相关异常期间发生错误时引发。 |
| BluetoothSocketSettings |
定义用于创建蓝牙服务器和客户端套接字通道的参数。 |
| BluetoothSocketSettings.Builder |
Builder for |
| BluetoothStatusCodes |
一个类,常量表示蓝牙 API 的可能返回值。 |
| BondStatus |
表示蓝牙设备的绑定状态。 |
| EncryptionStatus |
表示蓝牙设备的加密状态。 |
| ServiceConnectedEventArgs |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| ServiceDisconnectedEventArgs |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
接口
| 名称 | 说明 |
|---|---|
| BluetoothAdapter.ILeScanCallback |
用于传送 LE 扫描结果的回调接口。 |
| IBluetoothProfile |
蓝牙配置文件的公共 API。 |
| IBluetoothProfileServiceListener |
当蓝牙Profile IPC 客户端已连接到服务或断开连接时,用于通知这些客户端的接口。 |
枚举
| 名称 | 说明 |
|---|---|
| A2dpState |
枚举多个类型返回的值。 |
| AddressType |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| AtCommand |
枚举多个类型返回的值。 |
| BitsPerSample |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| BluetoothClassProfile |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| BluetoothConnectionType |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| BluetoothDeviceBondLossReason |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| BluetoothDeviceEncryptionAlgorithm |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| BluetoothDevicePairingAlgorithm |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| BluetoothDeviceType |
枚举多个类型返回的值。 |
| BluetoothHeadsetCodecType |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| BluetoothLeBitsPerSample |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| BluetoothLeChannelCount |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| BluetoothLeFrameDuration |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| BluetoothLeSampleRate |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| BluetoothLeSourceCodecType |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| BluetoothPhy |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| BluetoothPhyOption |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| BluetoothSocketExceptionReason |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| BluetoothTransports |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| Bond |
枚举多个类型返回的值。 |
| ChannelMode |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| CodecType |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| CurrentBluetoothStatusCodes |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| DeviceClass |
枚举多个类型返回的值。 |
| GattConnectionPriority |
枚举多个类型返回的值,并将其作为 F:Android.Bluetooth.Bluetooth.BluetoothGatt.RequestConnectionPriority 成员的参数。 |
| GattDescriptorPermission |
枚举多个类型返回的值,并将其作为 F:Android.Bluetooth.BluetoothGattDescriptor..ctor 成员。 |
| GattFormat |
枚举多个类型返回的值,并将其作为多个方法 BluetoothGattCharacteristic的参数。 |
| GattPermission |
枚举多个类型返回的值,并将其作为 F:Android.Bluetooth.BluetoothGattCharacteristic..ctor 成员。 |
| GattProperty |
枚举多个类型返回的值,并将其作为 F:Android.Bluetooth.BluetoothGattCharacteristic..ctor 成员。 |
| GattServiceType |
枚举多个类型返回的值,并将其作为 F:Android.Bluetooth.BluetoothGattService..ctor 成员。 |
| GattStatus |
枚举多个类型返回的值,并将其作为多个类型的参数。 |
| GattSubrateMode |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| GattWriteType |
枚举多个类型返回的值。 |
| HeadsetAudioState |
枚举多个类型返回的值。 |
| HealthApplicationConfig |
枚举多个类型返回的值,并将其作为 Android.Bluetooth.BluetoothHealthCallback.OnHealthAppConfigurationStatusChange 成员的参数。 |
| HealthChannelType |
枚举多个类型返回的值。 |
| HealthState |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| HidDeviceAppQosSettingsServiceType |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| MajorDeviceClass |
枚举多个类型返回的值。 |
| ProfileState |
枚举多个类型返回的值,并将其作为多个类型的参数。 |
| ProfileType |
枚举多个类型返回的值,并将其作为多个类型的参数。 |
| RoleType |
枚举多个类型返回的值。 |
| SampleRate |
提供管理蓝牙功能的类,例如扫描设备、使用设备连接以及管理设备之间的数据传输。 |
| ScanMode |
枚举多个类型返回的值。 |
| ServiceClass |
枚举由多个方法 ServiceClass 返回的值,并将其作为 F:Android.Bluetooth.BluetoothClass.HasService 成员的参数。 |
| State |
枚举多个类型返回的值。 |