Lingua

BluetoothLeAudioCodecConfig.CodecId Property

Definition

Returns the unique codec identifier.

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

Property Value

Returns the unique codec identifier.

Attributes

Remarks

Returns the unique codec identifier.

The codec identifier is 40 bits as defined by Bluetooth ASCS v1.0.1 in chapter 4.1. Audio Stream Endpoints Bits 0-7: Codec ID, as defined by Bluetooth Assigned numbers 2.11 Coding_Format and Codec_ID (HCI); 0x06: LC3; 0xFF: Vendor; Bits 8-23: Company ID, set to 0, if octet 0 is not 0xFF; Bits 24-39: Vendor-defined codec ID, set to 0, if octet 0 is not 0xFF.

Android reference for android.bluetooth.BluetoothLeAudioCodecConfig.getCodecId.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to