System.Bluetooth.TBluetoothGattServer.CreateCharacteristic

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function CreateCharacteristic(const AService: TBluetoothGattService; const AnUUID: TBluetoothUUID;
const AProps: TBluetoothPropertyFlags; const ADescription: string = ''): TBluetoothGattCharacteristic;

C++

TBluetoothGattCharacteristic* __fastcall CreateCharacteristic(TBluetoothGattService* const AService, const GUID &AnUUID, const TBluetoothPropertyFlags AProps, const System::UnicodeString ADescription = System::UnicodeString());

Propriétés

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


Description

Crée une caractéristique avec l'UUID, les indicateurs de propriété, et la description spécifiés, ajoute la nouvelle caractéristique au service spécifié, et renvoie la nouvelle caractéristique.

Voir aussi