System.Bluetooth.TBluetoothGattService.GetServiceUUID
Delphi
function GetServiceUUID: TBluetoothUUID; virtual; abstract;
C++
virtual GUID __fastcall GetServiceUUID() = 0 ;
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | protected | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothGattService |
Description
- Remarque : Il s'agit d'une méthode abstraite qu'implémentent les sous-classes de TBluetoothGattService spécifiques à la plate-forme.
La fonction GetServiceUUID obtient l'UUID du TBluetoothGattService.
Par exemple, l'UUID du service Heart Rate Measurement (mesure de la fréquence cardiaque) est {0000180D-0000-1000-8000-00805F9B34FB}
.
Visitez la page officielle pour plus d'informations sur les services standard : Standard BluetoothLE Services.