System.Bluetooth.TBluetoothGattService.GetServiceType
Delphi
function GetServiceType: TBluetoothServiceType; virtual; abstract;
C++
virtual TBluetoothServiceType __fastcall GetServiceType(void) = 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.
Renvoie le type de ce service. Les valeurs possibles sont : TBluetoothServiceType = (Primary, Secondary).
Un service secondaire (Secondary) est inclus par des services principaux (Primary).