BluetoothLeAudioCodecConfig.Builder.SetCodecId(Int64) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定編解碼器 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 所創建與分享的作品,並依授權條款所描述的使用進行修改。