語言

BluetoothLeAudioCodecConfig.Builder.SetCodecId(Int64) 方法

定義

設定編解碼器 ID。

[Android.Runtime.Register("setCodecId", "(J)Landroid/bluetooth/BluetoothLeAudioCodecConfig$Builder;", "", ApiSince=37)]
public Android.Bluetooth.BluetoothLeAudioCodecConfig.Builder SetCodecId(long codecId);
[<Android.Runtime.Register("setCodecId", "(J)Landroid/bluetooth/BluetoothLeAudioCodecConfig$Builder;", "", ApiSince=37)>]
member this.SetCodecId : int64 -> Android.Bluetooth.BluetoothLeAudioCodecConfig.Builder

參數

codecId
Int64

40 位元編解碼器識別碼。

傳回

同一個建造者實例。 這個值不可能為零值。

屬性

備註

設定編解碼器 ID。

編解碼器識別碼為 40 位元,依據藍牙 ASCS v1.0.1 定義。

目前僅支援以下編碼器識別碼:LC3:0x00_0000000006;供應商專屬:0xNN_NNNNNNNNFF

Android 參考資料。android.bluetooth.BluetoothLeAudioCodecConfig.Builder.setCodecId

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於