语言

BluetoothLeAudioCodecConfig.CodecId 属性

定义

返回唯一编解码器标识符。

public long CodecId { [Android.Runtime.Register("getCodecId", "()J", "", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getCodecId", "()J", "", ApiSince=37)>]
member this.CodecId : int64

属性值

返回唯一编解码器标识符。

特性

注解

返回唯一编解码器标识符。

编解码器标识符是第 4.1 章中蓝牙 ASCS v1.0.1 定义的 40 位。 音频流终结点位 0-7:蓝牙分配号码 2.11 Coding_Format和Codec_ID定义的编解码器 ID;0x06:LC3;0xFF:供应商;位 8-23:如果八进制数 0 未0xFF,公司 ID 设置为 0;位 24-39:供应商定义的编解码器 ID,如果八进制数 0 未0xFF,则设置为 0。

Android 参考。android.bluetooth.BluetoothLeAudioCodecConfig.getCodecId

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于