言語

BluetoothCodecConfig.Builder.SetCodecType(Int32) メソッド

定義

[Android.Runtime.Register("setCodecType", "(I)Landroid/bluetooth/BluetoothCodecConfig$Builder;", "", ApiSince=33)]
public Android.Bluetooth.BluetoothCodecConfig.Builder SetCodecType(int codecType);
[<Android.Runtime.Register("setCodecType", "(I)Landroid/bluetooth/BluetoothCodecConfig$Builder;", "", ApiSince=33)>]
member this.SetCodecType : int -> Android.Bluetooth.BluetoothCodecConfig.Builder

パラメーター

codecType
Int32

このコーデックの 値は次のいずれかです: BluetoothCodecConfig.SOURCE_CODEC_TYPE_SBC;BluetoothCodecConfig.SOURCE_CODEC_TYPE_AAC;BluetoothCodecConfig.SOURCE_CODEC_TYPE_APTX;BluetoothCodecConfig.SOURCE_CODEC_TYPE_APTX_HD;BluetoothCodecConfig.SOURCE_CODEC_TYPE_LDAC;BluetoothCodecConfig.SOURCE_CODEC_TYPE_LC3;BluetoothCodecConfig.SOURCE_CODEC_TYPE_OPUS;BluetoothCodecConfig.SOURCE_CODEC_TYPE_INVALID

返品

同じ Builder インスタンス。 この値は null にすることはできません。

属性

注釈

このメソッドは、API レベル 35 では非推奨になりました。 代わりに setExtendedCodecType(BluetoothCodecType) を使用する

android.bluetooth.BluetoothCodecConfig.Builder.setCodecTypeの Android リファレンス。

このページの一部は、Androidオープンソースプロジェクトによって作成および共有された作業に基づく変更でありCreative Commons 2.5属性ライセンスに記載されている条件に従って使用されます。

適用対象