BluetoothCodecConfig.Builder.SetCodecType(Int32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
[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
Paramètres
- codecType
- Int32
de ce codec. La valeur est l’une des valeurs suivantes : 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
Retours
la même instance Builder. Cette valeur ne peut pas être null.
- Attributs
Remarques
Cette méthode a été déconseillée au niveau de l’API 35. utiliser setExtendedCodecType(BluetoothCodecType) à la place
Référence Android pour android.bluetooth.BluetoothCodecConfig.Builder.setCodecType.
Les parties de cette page sont des modifications basées sur le travail créé et partagé par le projet Android Open Source et utilisés en fonction des termes décrits dans la licence d’attribution Creative Commons 2.5.