BluetoothCodecConfig.Builder.SetSampleRate(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定藍牙編解碼器設定取樣率。
[Android.Runtime.Register("setSampleRate", "(I)Landroid/bluetooth/BluetoothCodecConfig$Builder;", "", ApiSince=33)]
public Android.Bluetooth.BluetoothCodecConfig.Builder SetSampleRate(int sampleRate);
[<Android.Runtime.Register("setSampleRate", "(I)Landroid/bluetooth/BluetoothCodecConfig$Builder;", "", ApiSince=33)>]
member this.SetSampleRate : int -> Android.Bluetooth.BluetoothCodecConfig.Builder
參數
- sampleRate
- Int32
這個編解碼器。 價值屬於以下之一:BluetoothCodecConfig.SAMPLE_RATE_NONE;BluetoothCodecConfig.SAMPLE_RATE_44100;BluetoothCodecConfig.SAMPLE_RATE_48000;BluetoothCodecConfig.SAMPLE_RATE_88200;BluetoothCodecConfig.SAMPLE_RATE_96000;BluetoothCodecConfig.SAMPLE_RATE_176400;BluetoothCodecConfig.SAMPLE_RATE_192000
傳回
同一個建造者實例。 這個值不可能為零值。
- 屬性
備註
設定藍牙編解碼器設定取樣率。
Android 參考資料。android.bluetooth.BluetoothCodecConfig.Builder.setSampleRate
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。