System.Bluetooth.TServiceDataRawData

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

  TServiceDataRawData = record
    Key: TBluetoothUUID;
    Value: TBytes;
    constructor create(const AKey: TBluetoothUUID; const AValue: TBytes); overload;
    constructor create(const AServiceData: TPair<TBluetoothUUID,TBytes>); overload;
  end;

C++

struct DECLSPEC_DRECORD TServiceDataRawData
{
public:
    GUID Key;
#ifndef _WIN64
    System::DynamicArray<System::Byte> Value;
    __fastcall TServiceDataRawData(const GUID &AKey, const System::DynamicArray<System::Byte> AValue)/* overload */;
    __fastcall TServiceDataRawData(const System::Generics::Collections::TPair__2<GUID,System::DynamicArray<System::Byte> > &AServiceData)/* overload */;
#else /* _WIN64 */
    System::TArray__1<System::Byte> Value;
    __fastcall TServiceDataRawData(const GUID &AKey, const System::TArray__1<System::Byte> AValue)/* overload */;
    __fastcall TServiceDataRawData(const System::Generics::Collections::TPair__2<GUID,System::TArray__1<System::Byte> > &AServiceData)/* overload */;
#endif /* _WIN64 */
    TServiceDataRawData() {}
};

Properties

Type Visibility Source Unit Parent
record
struct
public
System.Bluetooth.pas
System.Bluetooth.hpp
System.Bluetooth System.Bluetooth

Description

This record type is used to represent the beacon manufacturer data.

Use TServiceDataRawData for those BLE devices that have ServiceData.

You can Create an instance of TServiceDataRawData.

See Also