System.Beacon.TEddystoneUID

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

  TEddystoneUID = record
    Namespace: TNamespace;
    Instance: TInstance;
    RFU: Word;
    function SetNamespace(const Value: string): boolean;
    function SetInstance(const Value: string): boolean;
    function GetNamespace: string;
    function GetInstance: string;
  private
    function TBytesToHexString(const AValue: array of Byte): string;
  public
    property NamespaceToString: string read GetNamespace;
    property InstanceToString: string read GetInstance;
  end;

C++

struct DECLSPEC_DRECORD TEddystoneUID
{
public:
    TNamespace Namespace;
    TInstance Instance;
    System::Word RFU;
    bool __fastcall SetNamespace(const System::UnicodeString Value);
    bool __fastcall SetInstance(const System::UnicodeString Value);
    System::UnicodeString __fastcall GetNamespace();
    System::UnicodeString __fastcall GetInstance();
private:
    System::UnicodeString __fastcall TBytesToHexString(const System::Byte *AValue, const int AValue_High);
public:
    __property System::UnicodeString NamespaceToString = {read=GetNamespace};
    __property System::UnicodeString InstanceToString = {read=GetInstance};
};

Properties

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

Description

Record type that stores the information associated with the EddystoneUID beacon.

TEddystoneUID contains similar identifiers to those present in an iBeacon or AltBeacon.

The EddystoneUID frame broadcasts two identifiers that compose the general identifier, the UID. They can also be used to define regions:

  • Namespace: Identifies a group of beacons.
  • Instance: Identifies a sub-group of beacons with the same Namespace.

See Also