Android.Bluetooth 命名空間
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供管理藍牙功能的類別,例如掃描裝置、連接裝置及管理裝置間的資料傳輸。
類別
| 名稱 | Description |
|---|---|
| BluetoothA2dp |
此類別提供公開 API 來控制藍牙 A2DP 設定檔。 |
| BluetoothA2dp.InterfaceConsts |
提供管理藍牙功能的類別,例如掃描裝置、連接裝置及管理裝置間的資料傳輸。 |
| BluetoothAdapter |
代表本地裝置的藍牙轉接器。 |
| BluetoothAssignedNumbers |
藍牙指定號碼。 |
| BluetoothClass |
代表藍牙類別,描述裝置的一般特性與能力。 |
| BluetoothClass.Device |
定義所有裝置類別常數。 |
| BluetoothClass.Device.Major |
定義所有主要裝置類別常數。 |
| BluetoothClass.InterfaceConsts |
提供管理藍牙功能的類別,例如掃描裝置、連接裝置及管理裝置間的資料傳輸。 |
| BluetoothClass.Service |
定義所有服務類別常數。 |
| BluetoothCodecConfig |
代表藍牙A2DP來源裝置的編解碼器配置。 |
| BluetoothCodecConfig.Builder |
建構者 |
| BluetoothCodecConfig.InterfaceConsts |
提供管理藍牙功能的類別,例如掃描裝置、連接裝置及管理裝置間的資料傳輸。 |
| BluetoothCodecStatus |
代表藍牙 A2DP 來源裝置的編解碼器狀態(設定與能力)。 |
| BluetoothCodecStatus.Builder |
建構者 |
| BluetoothCodecStatus.InterfaceConsts |
提供管理藍牙功能的類別,例如掃描裝置、連接裝置及管理裝置間的資料傳輸。 |
| BluetoothCodecType |
代表支援藍牙 A2DP 裝置的原始碼格式。 |
| BluetoothCodecType.InterfaceConsts |
提供管理藍牙功能的類別,例如掃描裝置、連接裝置及管理裝置間的資料傳輸。 |
| BluetoothCsipSetCoordinator |
此類別提供公共 API,以控制藍牙 CSIP 集合協調器。 |
| BluetoothCsipSetCoordinator.InterfaceConsts |
提供管理藍牙功能的類別,例如掃描裝置、連接裝置及管理裝置間的資料傳輸。 |
| BluetoothDevice |
代表遠端藍牙裝置。 |
| BluetoothDevice.BluetoothAddress |
一個用於藍牙位址及位址類型的資料類別。 |
| BluetoothDevice.BluetoothAddress.InterfaceConsts |
提供管理藍牙功能的類別,例如掃描裝置、連接裝置及管理裝置間的資料傳輸。 |
| BluetoothDevice.InterfaceConsts |
提供管理藍牙功能的類別,例如掃描裝置、連接裝置及管理裝置間的資料傳輸。 |
| BluetoothGatt |
藍牙 GATT 設定檔的公開 API。 |
| BluetoothGatt.InterfaceConsts |
提供管理藍牙功能的類別,例如掃描裝置、連接裝置及管理裝置間的資料傳輸。 |
| BluetoothGattCallback |
此抽象類別用於實作 |
| BluetoothGattCharacteristic |
代表藍牙 GATT 特性 |
| BluetoothGattCharacteristic.InterfaceConsts |
提供管理藍牙功能的類別,例如掃描裝置、連接裝置及管理裝置間的資料傳輸。 |
| 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 |
提供公開 API 以控制藍牙 HID 裝置設定檔。 |
| BluetoothHidDevice.Callback |
範本類別,應用程式用來呼叫 HID 主機事件回調函式。 |
| BluetoothHidDevice.InterfaceConsts |
提供管理藍牙功能的類別,例如掃描裝置、連接裝置及管理裝置間的資料傳輸。 |
| BluetoothHidDeviceAppQosSettings |
代表藍牙 HID 裝置應用程式的服務品質(QoS)設定。 |
| BluetoothHidDeviceAppQosSettings.InterfaceConsts |
提供管理藍牙功能的類別,例如掃描裝置、連接裝置及管理裝置間的資料傳輸。 |
| BluetoothHidDeviceAppSdpSettings |
代表藍牙 HID 裝置應用程式的服務發現協定(SDP)設定。 |
| BluetoothHidDeviceAppSdpSettings.InterfaceConsts |
提供管理藍牙功能的類別,例如掃描裝置、連接裝置及管理裝置間的資料傳輸。 |
| BluetoothLeAudio |
此類別提供公開 API 來控制 LeAudio 設定檔。 |
| BluetoothLeAudio.InterfaceConsts |
提供管理藍牙功能的類別,例如掃描裝置、連接裝置及管理裝置間的資料傳輸。 |
| BluetoothLeAudioCodecConfig |
代表藍牙低輸出音訊來源裝置的編解碼器配置。 |
| BluetoothLeAudioCodecConfig.Builder |
建構者 |
| BluetoothLeAudioCodecConfig.InterfaceConsts |
提供管理藍牙功能的類別,例如掃描裝置、連接裝置及管理裝置間的資料傳輸。 |
| BluetoothLeAudioCodecStatus |
代表藍牙 Le Audio 來源裝置的編解碼器狀態(設定與功能)。 |
| BluetoothLeAudioCodecStatus.InterfaceConsts |
提供管理藍牙功能的類別,例如掃描裝置、連接裝置及管理裝置間的資料傳輸。 |
| BluetoothManager |
高階管理者曾取得一個 |
| BluetoothProfile |
藍牙設定檔的公開 API。 |
| BluetoothServerSocket |
一個聆聽藍牙插座。 |
| BluetoothSocket |
一個連接或連接的藍牙插座。 |
| BluetoothSocketException |
當藍牙插槽相關異常發生錯誤時會丟出。 |
| BluetoothSocketSettings |
定義建立藍牙伺服器與用戶端socket通道的參數。 |
| BluetoothSocketSettings.Builder |
建構者 |
| BluetoothStatusCodes |
一個包含常數的類別,代表藍牙 API 可能的回傳值。 |
| EncryptionStatus |
代表藍牙裝置的加密狀態。 |
| ServiceConnectedEventArgs |
提供管理藍牙功能的類別,例如掃描裝置、連接裝置及管理裝置間的資料傳輸。 |
| ServiceDisconnectedEventArgs |
提供管理藍牙功能的類別,例如掃描裝置、連接裝置及管理裝置間的資料傳輸。 |
介面
| 名稱 | Description |
|---|---|
| BluetoothAdapter.ILeScanCallback |
回調介面用於傳送 LE 掃描結果。 |
| IBluetoothProfile |
藍牙設定檔的公開 API。 |
| IBluetoothProfileServiceListener |
一個用來通知 BluetoothProfile IPC 用戶端已連接或斷線服務的介面。 |
列舉
| 名稱 | Description |
|---|---|
| A2dpState |
列舉由多種類型回傳的值。 |
| AddressType |
提供管理藍牙功能的類別,例如掃描裝置、連接裝置及管理裝置間的資料傳輸。 |
| AtCommand |
列舉由多種類型回傳的值。 |
| BitsPerSample |
提供管理藍牙功能的類別,例如掃描裝置、連接裝置及管理裝置間的資料傳輸。 |
| BluetoothClassProfile |
提供管理藍牙功能的類別,例如掃描裝置、連接裝置及管理裝置間的資料傳輸。 |
| BluetoothConnectionType |
提供管理藍牙功能的類別,例如掃描裝置、連接裝置及管理裝置間的資料傳輸。 |
| BluetoothDeviceBondLossReason |
提供管理藍牙功能的類別,例如掃描裝置、連接裝置及管理裝置間的資料傳輸。 |
| BluetoothDeviceEncryptionAlgorithm |
提供管理藍牙功能的類別,例如掃描裝置、連接裝置及管理裝置間的資料傳輸。 |
| BluetoothDeviceType |
列舉由多種類型回傳的值。 |
| BluetoothLeBitsPerSample |
提供管理藍牙功能的類別,例如掃描裝置、連接裝置及管理裝置間的資料傳輸。 |
| BluetoothLeChannelCount |
提供管理藍牙功能的類別,例如掃描裝置、連接裝置及管理裝置間的資料傳輸。 |
| BluetoothLeFrameDuration |
提供管理藍牙功能的類別,例如掃描裝置、連接裝置及管理裝置間的資料傳輸。 |
| BluetoothLeSampleRate |
提供管理藍牙功能的類別,例如掃描裝置、連接裝置及管理裝置間的資料傳輸。 |
| BluetoothLeSourceCodecType |
提供管理藍牙功能的類別,例如掃描裝置、連接裝置及管理裝置間的資料傳輸。 |
| BluetoothPhy |
提供管理藍牙功能的類別,例如掃描裝置、連接裝置及管理裝置間的資料傳輸。 |
| BluetoothPhyOption |
提供管理藍牙功能的類別,例如掃描裝置、連接裝置及管理裝置間的資料傳輸。 |
| BluetoothSocketExceptionReason |
提供管理藍牙功能的類別,例如掃描裝置、連接裝置及管理裝置間的資料傳輸。 |
| BluetoothTransports |
提供管理藍牙功能的類別,例如掃描裝置、連接裝置及管理裝置間的資料傳輸。 |
| Bond |
列舉由多種類型回傳的值。 |
| ChannelMode |
提供管理藍牙功能的類別,例如掃描裝置、連接裝置及管理裝置間的資料傳輸。 |
| CodecType |
提供管理藍牙功能的類別,例如掃描裝置、連接裝置及管理裝置間的資料傳輸。 |
| CurrentBluetoothStatusCodes |
提供管理藍牙功能的類別,例如掃描裝置、連接裝置及管理裝置間的資料傳輸。 |
| DeviceClass |
列舉由多種類型回傳的值。 |
| GattConnectionPriority |
列舉由多種類型回傳的值,並作為 F:Android.Bluetooth.BluetoothGatt.RequestConnectionPriority 成員的參數。 |
| GattDescriptorPermission |
列舉由多種類型回傳的值,並作為 F:Android.藍牙.藍牙Gatt描述符..CTOR 成員。 |
| GattFormat |
枚舉由多種類型返回的值,並作為多種方法 BluetoothGattCharacteristic的參數取。 |
| GattPermission |
列舉由多種類型回傳的值,並作為 F:Android.藍牙.藍牙Gatt特性..CTOR 成員。 |
| GattProperty |
列舉由多種類型回傳的值,並作為 F:Android.藍牙.藍牙Gatt特性..CTOR 成員。 |
| GattServiceType |
列舉由多種類型回傳的值,並作為 F:Android.藍牙.藍牙GattService..CTOR 成員。 |
| GattStatus |
列舉由多種類型回傳的值,並作為多種類型的參數取出。 |
| GattSubrateMode |
提供管理藍牙功能的類別,例如掃描裝置、連接裝置及管理裝置間的資料傳輸。 |
| GattWriteType |
列舉由多種類型回傳的值。 |
| HeadsetAudioState |
列舉由多種類型回傳的值。 |
| HealthApplicationConfig | |
| HealthChannelType |
列舉由多種類型回傳的值。 |
| HealthState |
提供管理藍牙功能的類別,例如掃描裝置、連接裝置及管理裝置間的資料傳輸。 |
| HidDeviceAppQosSettingsServiceType |
提供管理藍牙功能的類別,例如掃描裝置、連接裝置及管理裝置間的資料傳輸。 |
| MajorDeviceClass |
列舉由多種類型回傳的值。 |
| ProfileState |
列舉由多種類型回傳的值,並作為多種類型的參數取出。 |
| ProfileType |
列舉由多種類型回傳的值,並作為多種類型的參數取出。 |
| RoleType |
列舉由多種類型回傳的值。 |
| SampleRate |
提供管理藍牙功能的類別,例如掃描裝置、連接裝置及管理裝置間的資料傳輸。 |
| ScanMode |
列舉由多種類型回傳的值。 |
| ServiceClass |
列舉以多種方法ServiceClass回傳的值,並作為 成員的參數取出。 |
| State |
列舉由多種類型回傳的值。 |