Langue

BluetoothHidDeviceAppQosSettings Constructeur

Définition

Créez un objet BluetoothHidDeviceAppQosSettings pour le canal Bluetooth L2CAP.

[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

Paramètres

serviceType
HidDeviceAppQosSettingsServiceType

Type de service L2CAP, valeur par défaut = SERVICE_BEST_EFFORT

tokenRate
Int32

Taux de jeton L2CAP, valeur par défaut = 0

tokenBucketSize
Int32

Taille du compartiment de jeton L2CAP, valeur par défaut = 0

peakBandwidth
Int32

Bande passante maximale L2CAP, valeur par défaut = 0

latency
Int32

Latence L2CAP, valeur par défaut = MAX

delayVariation
Int32

Variation de délai L2CAP, valeur par défaut = MAX

Attributs

Remarques

Créez un objet BluetoothHidDeviceAppQosSettings pour le canal Bluetooth L2CAP. Les paramètres qoS sont facultatifs. Reportez-vous à la spécification BLUETOOTH HID v1.1.1 Section 5.2 et à l’annexe D pour les paramètres.

Java documentation pour android.bluetooth.BluetoothHidDeviceAppQosSettings.BluetoothHidDeviceAppQosSettings(int, int, int, int, int, int).

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à