Android.Bluetooth Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides classes that manage Bluetooth functionality, such as scanning for devices, connecting with devices, and managing data transfer between devices.
Classes
| Name | Description |
|---|---|
| BluetoothA2dp |
This class provides the public APIs to control the Bluetooth A2DP profile. |
| BluetoothA2dp.InterfaceConsts |
Provides the IBluetoothProfile constants exposed for BluetoothA2dp. |
| BluetoothAdapter |
Represents the local device Bluetooth adapter. |
| BluetoothAssignedNumbers |
Bluetooth Assigned Numbers. |
| BluetoothClass |
Represents a Bluetooth class, which describes general characteristics and capabilities of a device. |
| BluetoothClass.Device |
Defines standard device class constants based on the Bluetooth specification. |
| BluetoothClass.Device.Major |
Defines all major device class constants. |
| BluetoothClass.InterfaceConsts |
Provides the IParcelable constants exposed for BluetoothClass. |
| BluetoothClass.Service |
Defines standard service class constants based on the Bluetooth specification. |
| BluetoothCodecConfig |
Represents the codec configuration for a Bluetooth A2DP source device. |
| BluetoothCodecConfig.Builder |
Builder for |
| BluetoothCodecConfig.InterfaceConsts |
Provides the IParcelable constants exposed for BluetoothCodecConfig. |
| BluetoothCodecStatus |
Represents the codec status (configuration and capability) for a Bluetooth A2DP source device. |
| BluetoothCodecStatus.Builder |
Builder for |
| BluetoothCodecStatus.InterfaceConsts |
Provides the IParcelable constants exposed for BluetoothCodecStatus. |
| BluetoothCodecType |
Represents a supported source codec type for a Bluetooth A2DP device. |
| BluetoothCodecType.InterfaceConsts |
Provides the IParcelable constants exposed for BluetoothCodecType. |
| BluetoothCsipSetCoordinator |
This class provides the public APIs to control the Bluetooth CSIP set coordinator. |
| BluetoothCsipSetCoordinator.InterfaceConsts |
Provides the IBluetoothProfile constants exposed for BluetoothCsipSetCoordinator. |
| BluetoothDevice |
Represents a remote Bluetooth device. |
| BluetoothDevice.BluetoothAddress |
A data class for Bluetooth address and address type. |
| BluetoothDevice.BluetoothAddress.InterfaceConsts |
Provides the IParcelable constants exposed for BluetoothDevice.BluetoothAddress. |
| BluetoothDevice.InterfaceConsts |
Provides the IParcelable constants exposed for BluetoothDevice. |
| BluetoothGatt |
Public API for the Bluetooth GATT Profile. |
| BluetoothGatt.InterfaceConsts |
Provides the IBluetoothProfile constants exposed for BluetoothGatt. |
| BluetoothGattCallback |
This abstract class is used to implement |
| BluetoothGattCharacteristic |
Represents a Bluetooth GATT Characteristic |
| BluetoothGattCharacteristic.InterfaceConsts |
Provides the IParcelable constants exposed for BluetoothGattCharacteristic. |
| BluetoothGattConnectionSettings |
Defines parameters for creating BluetoothGatt connection. |
| BluetoothGattConnectionSettings.Builder |
Builder for |
| BluetoothGattDescriptor |
Represents a Bluetooth GATT Descriptor |
| BluetoothGattDescriptor.InterfaceConsts |
Provides the IParcelable constants exposed for BluetoothGattDescriptor. |
| BluetoothGattServer |
Public API for the Bluetooth GATT Profile server role. |
| BluetoothGattServer.InterfaceConsts |
Provides the IBluetoothProfile constants exposed for BluetoothGattServer. |
| BluetoothGattServerCallback |
This abstract class is used to implement |
| BluetoothGattService |
Represents a Bluetooth GATT Service |
| BluetoothGattService.InterfaceConsts |
Provides the IParcelable constants exposed for BluetoothGattService. |
| BluetoothHeadset |
Public API for controlling the Bluetooth Headset Service. |
| BluetoothHeadset.InterfaceConsts |
Provides the IBluetoothProfile constants exposed for BluetoothHeadset. |
| BluetoothHealth |
Public API for Bluetooth Health Profile. |
| BluetoothHealth.InterfaceConsts |
Provides the IBluetoothProfile constants exposed for BluetoothHealth. |
| BluetoothHealthAppConfiguration |
The Bluetooth Health Application Configuration that is used in conjunction with the |
| BluetoothHealthAppConfiguration.InterfaceConsts |
Provides the IParcelable constants exposed for BluetoothHealthAppConfiguration. |
| BluetoothHealthCallback |
This abstract class is used to implement |
| BluetoothHearingAid |
This class provides the public APIs to control the Hearing Aid profile. |
| BluetoothHearingAid.InterfaceConsts |
Provides the IBluetoothProfile constants exposed for BluetoothHearingAid. |
| BluetoothHidDevice |
Provides the public APIs to control the Bluetooth HID Device profile. |
| BluetoothHidDevice.Callback |
The template class that applications use to call callback functions on events from the HID host. |
| BluetoothHidDevice.InterfaceConsts |
Provides the IBluetoothProfile constants exposed for BluetoothHidDevice. |
| BluetoothHidDeviceAppQosSettings |
Represents the Quality of Service (QoS) settings for a Bluetooth HID Device application. |
| BluetoothHidDeviceAppQosSettings.InterfaceConsts |
Provides the IParcelable constants exposed for BluetoothHidDeviceAppQosSettings. |
| BluetoothHidDeviceAppSdpSettings |
Represents the Service Discovery Protocol (SDP) settings for a Bluetooth HID Device application. |
| BluetoothHidDeviceAppSdpSettings.InterfaceConsts |
Provides the IParcelable constants exposed for BluetoothHidDeviceAppSdpSettings. |
| BluetoothLeAudio |
This class provides the public APIs to control the LeAudio profile. |
| BluetoothLeAudio.InterfaceConsts |
Provides the IBluetoothProfile constants exposed for BluetoothLeAudio. |
| BluetoothLeAudioCodecConfig |
Represents the codec configuration for a Bluetooth LE Audio source device. |
| BluetoothLeAudioCodecConfig.Builder |
Builder for |
| BluetoothLeAudioCodecConfig.InterfaceConsts |
Provides the IParcelable constants exposed for BluetoothLeAudioCodecConfig. |
| BluetoothLeAudioCodecStatus |
Represents the codec status (configuration and capability) for a Bluetooth Le Audio source device. |
| BluetoothLeAudioCodecStatus.InterfaceConsts |
Provides the IParcelable constants exposed for BluetoothLeAudioCodecStatus. |
| BluetoothManager |
High level manager used to obtain an instance of an |
| BluetoothProfile |
Public APIs for the Bluetooth Profiles. |
| BluetoothServerSocket |
A listening Bluetooth socket. |
| BluetoothSocket |
A connected or connecting Bluetooth socket. |
| BluetoothSocketException |
Thrown when an error occurs during a Bluetooth Socket related exception. |
| BluetoothSocketSettings |
Defines parameters for creating Bluetooth server and client socket channels. |
| BluetoothSocketSettings.Builder |
Builder for |
| BluetoothStatusCodes |
A class with constants representing possible return values for Bluetooth APIs. |
| BondStatus |
Represents the bond status of a Bluetooth device. |
| EncryptionStatus |
Represents the encryption status of a Bluetooth device. |
| ServiceConnectedEventArgs |
Supplies the profile identifier and proxy for a Bluetooth profile service connection. |
| ServiceDisconnectedEventArgs |
Supplies the profile identifier for a Bluetooth profile service disconnection. |
Interfaces
| Name | Description |
|---|---|
| BluetoothAdapter.ILeScanCallback |
Callback interface used to deliver LE scan results. |
| IBluetoothProfile |
Public APIs for the Bluetooth Profiles. |
| IBluetoothProfileServiceListener |
An interface for notifying BluetoothProfile IPC clients when they have been connected or disconnected to the service. |
Enums
| Name | Description |
|---|---|
| A2dpState |
Enumerates values returned by several types. |
| AddressType |
Specifies the kind of Bluetooth device address. |
| AtCommand |
Enumerates values returned by several types. |
| BitsPerSample |
Specifies encoded sample-width values for a Bluetooth audio codec. |
| BluetoothClassProfile |
Selects the profile tested by the Bluetooth device-class heuristic. |
| BluetoothConnectionType |
Specifies the connection type of a Bluetooth socket. |
| BluetoothDeviceBondLossReason |
Identifies why a device's Bluetooth bond was lost. |
| BluetoothDeviceEncryptionAlgorithm |
Identifies the algorithm used to encrypt a Bluetooth link. |
| BluetoothDevicePairingAlgorithm |
Identifies the pairing algorithm used to create a Bluetooth bond. |
| BluetoothDeviceType |
Enumerates values returned by several types. |
| BluetoothHeadsetCodecType |
Identifies the audio codec reported for a Bluetooth headset. |
| BluetoothLeBitsPerSample |
Specifies encoded sample-width values for an LE Audio codec. |
| BluetoothLeChannelCount |
Specifies encoded channel-count values for an LE Audio codec. |
| BluetoothLeFrameDuration |
Specifies encoded frame-duration values for an LE Audio codec. |
| BluetoothLeSampleRate |
Specifies encoded sample-rate values for an LE Audio codec. |
| BluetoothLeSourceCodecType |
Identifies a source codec type in an LE Audio configuration. |
| BluetoothPhy |
Defines LE physical-layer values and selection masks used by Bluetooth GATT. |
| BluetoothPhyOption |
Specifies the coding preference for the LE Coded physical layer. |
| BluetoothSocketExceptionReason |
Identifies the connection failure reported by a Bluetooth socket exception. |
| BluetoothTransports |
Selects automatic, BR/EDR, or LE transport for a Bluetooth connection. |
| Bond |
Enumerates values returned by several types. |
| ChannelMode |
Specifies the channel mode of a Bluetooth audio codec. |
| CodecType |
Identifies a source codec type in a Bluetooth audio configuration. |
| CurrentBluetoothStatusCodes |
Defines status and error codes reported by Android Bluetooth operations. |
| DeviceClass |
Enumerates values returned by several types. |
| GattConnectionPriority |
Enumerates values returned by several types and taken as a parameter of the F:Android.Bluetooth.BluetoothGatt.RequestConnectionPriority member. |
| GattDescriptorPermission |
Enumerates values returned by several types and taken as a parameter of the F:Android.Bluetooth.BluetoothGattDescriptor..ctor member. |
| GattFormat |
Enumerates values returned by several types and taken as a parameter of several methods of BluetoothGattCharacteristic. |
| GattPermission |
Enumerates values returned by several types and taken as a parameter of the F:Android.Bluetooth.BluetoothGattCharacteristic..ctor member. |
| GattProperty |
Enumerates values returned by several types and taken as a parameter of the F:Android.Bluetooth.BluetoothGattCharacteristic..ctor member. |
| GattServiceType |
Enumerates values returned by several types and taken as a parameter of the F:Android.Bluetooth.BluetoothGattService..ctor member. |
| GattStatus |
Enumerates values returned by several types and taken as a parameter of several types. |
| GattSubrateMode |
Specifies a GATT connection's LE subrate mode or update status. |
| GattWriteType |
Enumerates values returned by several types. |
| HeadsetAudioState |
Enumerates values returned by several types. |
| HealthApplicationConfig |
Enumerates values returned by several types and taken as a parameter of the F:Android.Bluetooth.BluetoothHealthCallback.OnHealthAppConfigurationStatusChange member. |
| HealthChannelType |
Enumerates values returned by several types. |
| HealthState |
Identifies the connection state of a Bluetooth Health data channel. |
| HidDeviceAppQosSettingsServiceType |
Selects the L2CAP service type for a Bluetooth HID application's quality-of-service settings. |
| MajorDeviceClass |
Enumerates values returned by several types. |
| ProfileState |
Enumerates values returned by several types and taken as a parameter of several types. |
| ProfileType |
Enumerates values returned by several types and taken as a parameter of several types. |
| RoleType |
Enumerates values returned by several types. |
| SampleRate |
Specifies encoded sample-rate values for a Bluetooth audio codec. |
| ScanMode |
Enumerates values returned by several types. |
| ServiceClass |
Enumerates values returned by several methods of ServiceClass and taken as a parameter of the F:Android.Bluetooth.BluetoothClass.HasService member. |
| State |
Enumerates values returned by several types. |