语言

CodecType 枚举

定义

public enum CodecType
type CodecType = 
继承
CodecType

字段

名称 值 说明
Sbc 0

此常量在 API 级别 35 中已弃用。 请改用 BluetoothA2dp.getSupportedCodecTypes 返回的 BluetoothCodecType 值。

源代码编解码器类型 SBC。 这是必需的源代码编解码器类型。

Android 参考。android.bluetooth.BluetoothCodecConfig.SOURCE_CODEC_TYPE_SBC

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

Aac 1

此常量在 API 级别 35 中已弃用。 请改用 BluetoothA2dp.getSupportedCodecTypes 返回的 BluetoothCodecType 值。

源代码编解码器类型 AAC。

Android 参考。android.bluetooth.BluetoothCodecConfig.SOURCE_CODEC_TYPE_AAC

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

Aptx 2

此常量在 API 级别 35 中已弃用。 请改用 BluetoothA2dp.getSupportedCodecTypes 返回的 BluetoothCodecType 值。

源代码编解码器类型 APTX。

Android 参考。android.bluetooth.BluetoothCodecConfig.SOURCE_CODEC_TYPE_APTX

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

AptxHd 3

此常量在 API 级别 35 中已弃用。 请改用 BluetoothA2dp.getSupportedCodecTypes 返回的 BluetoothCodecType 值。

源代码编解码器类型 APTX HD。

Android 参考。android.bluetooth.BluetoothCodecConfig.SOURCE_CODEC_TYPE_APTX_HD

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

Ldac 4

此常量在 API 级别 35 中已弃用。 请改用 BluetoothA2dp.getSupportedCodecTypes 返回的 BluetoothCodecType 值。

源代码编解码器类型 LDAC。

Android 参考。android.bluetooth.BluetoothCodecConfig.SOURCE_CODEC_TYPE_LDAC

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

Lc3 5

此常量在 API 级别 35 中已弃用。 请改用 BluetoothA2dp.getSupportedCodecTypes 返回的 BluetoothCodecType 值。

源代码编解码器类型 LC3。

Android 参考。android.bluetooth.BluetoothCodecConfig.SOURCE_CODEC_TYPE_LC3

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

Opus 6

此常量在 API 级别 35 中已弃用。 请改用 BluetoothA2dp.getSupportedCodecTypes 返回的 BluetoothCodecType 值。

源代码编解码器类型 Opus。

Android 参考。android.bluetooth.BluetoothCodecConfig.SOURCE_CODEC_TYPE_OPUS

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

Invalid 1000000

此常量在 API 级别 35 中已弃用。 请改用 BluetoothA2dp.getSupportedCodecTypes 返回的 BluetoothCodecType 值。

源代码编解码器类型无效。 这是用于编解码器类型的默认值。

Android 参考。android.bluetooth.BluetoothCodecConfig.SOURCE_CODEC_TYPE_INVALID

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

适用于