語言

BluetoothHidDeviceAppQosSettings 建構函式

定義

為藍牙 L2CAP 通道建立一個 BluetoothHidDeviceAppQosSettings 物件。

[Android.Runtime.Register(".ctor", "(IIIIII)V", "", ApiSince=28)]
public BluetoothHidDeviceAppQosSettings(Android.Bluetooth.HidDeviceAppQosSettingsServiceType serviceType, int tokenRate, int tokenBucketSize, int peakBandwidth, int latency, int delayVariation);
[<Android.Runtime.Register(".ctor", "(IIIIII)V", "", ApiSince=28)>]
new Android.Bluetooth.BluetoothHidDeviceAppQosSettings : Android.Bluetooth.HidDeviceAppQosSettingsServiceType * int * int * int * int * int -> Android.Bluetooth.BluetoothHidDeviceAppQosSettings

參數

serviceType
HidDeviceAppQosSettingsServiceType

L2CAP 服務類型,預設 = SERVICE_BEST_EFFORT

tokenRate
Int32

L2CAP 代幣率,預設值 = 0

tokenBucketSize
Int32

L2CAP 代幣桶大小,預設值 = 0

peakBandwidth
Int32

L2CAP 峰值頻寬,預設 = 0

latency
Int32

L2CAP 延遲,預設值 = MAX

delayVariation
Int32

L2CAP 延遲變體,預設值 = MAX

屬性

備註

為藍牙 L2CAP 通道建立一個 BluetoothHidDeviceAppQosSettings 物件。 QoS 設定是可選的。 請參閱藍牙 HID 規範 v1.1.1 第 5.2 節及附錄 D 以了解參數。

Java 文件 android.bluetooth.BluetoothHidDeviceAppQosSettings.BluetoothHidDeviceAppQosSettings(int, int, int, int, int, int)。

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

適用於