BluetoothCodecConfig.Builder.SetCodecPriority(Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
为蓝牙编解码器配置设置编解码器优先级。
[Android.Runtime.Register("setCodecPriority", "(I)Landroid/bluetooth/BluetoothCodecConfig$Builder;", "", ApiSince=33)]
public Android.Bluetooth.BluetoothCodecConfig.Builder SetCodecPriority(int codecPriority);
[<Android.Runtime.Register("setCodecPriority", "(I)Landroid/bluetooth/BluetoothCodecConfig$Builder;", "", ApiSince=33)>]
member this.SetCodecPriority : int -> Android.Bluetooth.BluetoothCodecConfig.Builder
参数
- codecPriority
- Int32
的此编解码器。 值为下列值之一:BluetoothCodecConfig.CODEC_PRIORITY_DISABLED;BluetoothCodecConfig.CODEC_PRIORITY_DEFAULT;BluetoothCodecConfig.CODEC_PRIORITY_HIGHEST
返回
同一个 Builder 实例。 此值不能为 null。
- 特性
注解
为蓝牙编解码器配置设置编解码器优先级。
Android 参考。android.bluetooth.BluetoothCodecConfig.Builder.setCodecPriority
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。