BluetoothLeAudioCodecConfig.Builder Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| BluetoothLeAudioCodecConfig.Builder() |
Initializes a builder for an LE Audio codec configuration. |
| BluetoothLeAudioCodecConfig.Builder(BluetoothLeAudioCodecConfig) |
Initializes a builder by copying an LE Audio codec configuration. |
BluetoothLeAudioCodecConfig.Builder()
Initializes a builder for an LE Audio codec configuration.
[Android.Runtime.Register(".ctor", "()V", "", ApiSince=33)]
public Builder();
- Attributes
Remarks
The builder starts with an invalid source codec type and the default codec priority. No sample rate, sample width, channel count or frame duration is selected.
Applies to
BluetoothLeAudioCodecConfig.Builder(BluetoothLeAudioCodecConfig)
Initializes a builder by copying an LE Audio codec configuration.
[Android.Runtime.Register(".ctor", "(Landroid/bluetooth/BluetoothLeAudioCodecConfig;)V", "", ApiSince=33)]
public Builder(Android.Bluetooth.BluetoothLeAudioCodecConfig config);
[<Android.Runtime.Register(".ctor", "(Landroid/bluetooth/BluetoothLeAudioCodecConfig;)V", "", ApiSince=33)>]
new Android.Bluetooth.BluetoothLeAudioCodecConfig.Builder : Android.Bluetooth.BluetoothLeAudioCodecConfig -> Android.Bluetooth.BluetoothLeAudioCodecConfig.Builder
Parameters
- config
- BluetoothLeAudioCodecConfig
The existing LE Audio codec configuration whose values are copied.
- Attributes
Remarks
The copy includes the codec type and identifier, priority, sample rate, sample width, channel count, frame duration, and octets-per-frame values and bounds.