BluetoothSocketSettings.Builder.SetL2capPsm(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.
Définit le PSM L2CAP (Protocol/Service Multiplexer) pour le socket Bluetooth.
[Android.Runtime.Register("setL2capPsm", "(I)Landroid/bluetooth/BluetoothSocketSettings$Builder;", "", ApiSince=36)]
public Android.Bluetooth.BluetoothSocketSettings.Builder SetL2capPsm(int l2capPsm);
[<Android.Runtime.Register("setL2capPsm", "(I)Landroid/bluetooth/BluetoothSocketSettings$Builder;", "", ApiSince=36)>]
member this.SetL2capPsm : int -> Android.Bluetooth.BluetoothSocketSettings.Builder
Paramètres
- l2capPsm
- Int32
Valeur PSM L2CAP. La valeur est comprise entre 128 et 255 inclus
Retours
Ce générateur. Cette valeur ne peut pas être null.
- Attributs
Remarques
Définit le PSM L2CAP (Protocol/Service Multiplexer) pour le socket Bluetooth.
Référence Android pour android.bluetooth.BluetoothSocketSettings.Builder.setL2capPsm.
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.