BluetoothGattServer.GetService(UUID) 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.
Retourne une BluetoothGattService
valeur de la liste des services proposés par cet appareil.
[Android.Runtime.Register("getService", "(Ljava/util/UUID;)Landroid/bluetooth/BluetoothGattService;", "")]
public Android.Bluetooth.BluetoothGattService? GetService (Java.Util.UUID? uuid);
[<Android.Runtime.Register("getService", "(Ljava/util/UUID;)Landroid/bluetooth/BluetoothGattService;", "")>]
member this.GetService : Java.Util.UUID -> Android.Bluetooth.BluetoothGattService
Paramètres
- uuid
- UUID
UUID du service demandé
Retours
BluetoothGattService s’il est pris en charge ou null si le service demandé n’est pas proposé par cet appareil.
- Attributs
Remarques
Documentation Java pour android.bluetooth.BluetoothGattServer.getService(java.util.UUID)
.
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.