Sdílet prostřednictvím


Android.Bluetooth Namespace

Provides classes that manage Bluetooth functionality, such as scanning for devices, connecting with devices, and managing data transfer between devices.

Classes

BluetoothA2dp

This class provides the public APIs to control the Bluetooth A2DP profile.

BluetoothA2dp.InterfaceConsts
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 all device class constants.

BluetoothClass.Device.Major

Defines all major device class constants.

BluetoothClass.InterfaceConsts
BluetoothClass.Service

Defines all service class constants.

BluetoothCodecConfig
BluetoothCodecConfig.Builder
BluetoothCodecConfig.InterfaceConsts
BluetoothCodecStatus
BluetoothCodecStatus.Builder
BluetoothCodecStatus.InterfaceConsts
BluetoothCsipSetCoordinator
BluetoothCsipSetCoordinator.InterfaceConsts
BluetoothDevice

Represents a remote Bluetooth device.

BluetoothDevice.InterfaceConsts
BluetoothGatt

Public API for the Bluetooth GATT Profile.

BluetoothGatt.InterfaceConsts
BluetoothGattCallback

This abstract class is used to implement BluetoothGatt callbacks.

BluetoothGattCharacteristic

Represents a Bluetooth GATT Characteristic

BluetoothGattCharacteristic.InterfaceConsts
BluetoothGattDescriptor

Represents a Bluetooth GATT Descriptor

BluetoothGattDescriptor.InterfaceConsts
BluetoothGattServer

Public API for the Bluetooth GATT Profile server role.

BluetoothGattServer.InterfaceConsts
BluetoothGattServerCallback

This abstract class is used to implement BluetoothGattServer callbacks.

BluetoothGattService

Represents a Bluetooth GATT Service

BluetoothGattService.InterfaceConsts
BluetoothHeadset

Public API for controlling the Bluetooth Headset Service.

BluetoothHeadset.InterfaceConsts
BluetoothHealth

Public API for Bluetooth Health Profile.

BluetoothHealth.InterfaceConsts
BluetoothHealthAppConfiguration

The Bluetooth Health Application Configuration that is used in conjunction with the BluetoothHealth class.

BluetoothHealthAppConfiguration.InterfaceConsts
BluetoothHealthCallback

This abstract class is used to implement BluetoothHealth callbacks.

BluetoothHearingAid

This class provides the public APIs to control the Hearing Aid profile.

BluetoothHearingAid.InterfaceConsts
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
BluetoothHidDeviceAppQosSettings

Represents the Quality of Service (QoS) settings for a Bluetooth HID Device application.

BluetoothHidDeviceAppQosSettings.InterfaceConsts
BluetoothHidDeviceAppSdpSettings

Represents the Service Discovery Protocol (SDP) settings for a Bluetooth HID Device application.

BluetoothHidDeviceAppSdpSettings.InterfaceConsts
BluetoothLeAudio

This class provides the public APIs to control the LeAudio profile.

BluetoothLeAudio.InterfaceConsts
BluetoothLeAudioCodecConfig
BluetoothLeAudioCodecConfig.Builder
BluetoothLeAudioCodecConfig.InterfaceConsts
BluetoothLeAudioCodecStatus
BluetoothLeAudioCodecStatus.InterfaceConsts
BluetoothManager

High level manager used to obtain an instance of an BluetoothAdapter and to conduct overall Bluetooth Management.

BluetoothProfile

Public APIs for the Bluetooth Profiles.

BluetoothServerSocket

A listening Bluetooth socket.

BluetoothSocket

A connected or connecting Bluetooth socket.

BluetoothSocketException
BluetoothStatusCodes

A class with constants representing possible return values for Bluetooth APIs.

ServiceConnectedEventArgs
ServiceDisconnectedEventArgs

Interfaces

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

A2dpState

Enumerates values returned by several types.

AddressType
AtCommand

Enumerates values returned by several types.

BitsPerSample
BluetoothClassProfile
BluetoothConnectionType
BluetoothDeviceType

Enumerates values returned by several types.

BluetoothLeBitsPerSample
BluetoothLeChannelCount
BluetoothLeFrameDuration
BluetoothLeSampleRate
BluetoothLeSourceCodecType
BluetoothPhy
BluetoothPhyOption
BluetoothSocketExceptionReason
BluetoothTransports
Bond

Enumerates values returned by several types.

ChannelMode
CodecType
CurrentBluetoothStatusCodes
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.

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
HidDeviceAppQosSettingsServiceType
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
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.