System.Bluetooth.TBluetoothGattServer.DoAddCharacteristic

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function DoAddCharacteristic(const AService: TBluetoothGattService;  const ACharacteristic: TBluetoothGattCharacteristic): Boolean; virtual; abstract;

C++

virtual bool __fastcall DoAddCharacteristic(TBluetoothGattService* const AService, TBluetoothGattCharacteristic* const ACharacteristic) = 0 ;

Propriétés

Type Visibilité  Source Unité  Parent
function protected
System.Bluetooth.pas
System.Bluetooth.hpp
System.Bluetooth TBluetoothGattServer


Description

Ajoute la caractéristique spécifiée au service spécifié et renvoie True en cas de réussite. Sinon, elle renvoie False.

Remarque : Il s'agit d'une méthode abstraite décrite par les implémentations de TBluetoothGattServer spécifiques à la plate-forme.

Prise en charge de la plate-forme

Plate-forme Prise en charge

Windows

OS X

10.9+

iOS

6+

Android

Voir aussi