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 位编解码器标识符。
返回
同一个 Builder 实例。 此值不能为 null。
- 特性
注解
设置编解码器 ID。
编解码器标识符是蓝牙 ASCS v1.0.1 定义的 40 位。
目前,仅支持以下编解码器 ID:LC3:0x00_0000000006;供应商特定:0xNN_NNNNNNNNFF
Android 参考。android.bluetooth.BluetoothLeAudioCodecConfig.Builder.setCodecId
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。