Compartilhar via


BluetoothCodecType.CodecId Property

Definition

Returns the codec unique identifier.

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

Property Value

Attributes

Remarks

Returns the codec unique identifier. The codec identifier is 40 bits, - Bits 0-7: Audio Codec ID, as defined by [ID 6.5.1] 0x00: SBC 0x02: AAC 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.

Java documentation for android.bluetooth.BluetoothCodecType.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