語言

BluetoothCodecConfig.Builder.SetCodecPriority(Int32) 方法

定義

設定藍牙編解碼器設定的編解碼器優先權。

[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

傳回

同一個建造者實例。 這個值不可能為零值。

屬性

備註

設定藍牙編解碼器設定的編解碼器優先權。

Android 參考資料。android.bluetooth.BluetoothCodecConfig.Builder.setCodecPriority

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於