语言

BluetoothLeAudioCodecConfig.Builder.SetFrameDuration(Int32) 方法

定义

设置蓝牙 LE 音频编解码器配置的帧持续时间。

[Android.Runtime.Register("setFrameDuration", "(I)Landroid/bluetooth/BluetoothLeAudioCodecConfig$Builder;", "", ApiSince=33)]
public Android.Bluetooth.BluetoothLeAudioCodecConfig.Builder SetFrameDuration(int frameDuration);
[<Android.Runtime.Register("setFrameDuration", "(I)Landroid/bluetooth/BluetoothLeAudioCodecConfig$Builder;", "", ApiSince=33)>]
member this.SetFrameDuration : int -> Android.Bluetooth.BluetoothLeAudioCodecConfig.Builder

参数

frameDuration
Int32

的此编解码器。 值为 0 或以下组合:BluetoothLeAudioCodecConfig.FRAME_DURATION_NONE;BluetoothLeAudioCodecConfig.FRAME_DURATION_7500;BluetoothLeAudioCodecConfig.FRAME_DURATION_10000

返回

同一个 Builder 实例。 此值不能为 null。

特性

注解

设置蓝牙 LE 音频编解码器配置的帧持续时间。

Android 参考。android.bluetooth.BluetoothLeAudioCodecConfig.Builder.setFrameDuration

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于