System.Beacon.TEddystoneUID

De RAD Studio API Documentation
Aller à : navigation, rechercher

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};
};

Propriétés

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


Description

Type d'enregistrement qui stocke les informations associées au beacon EddystoneUID.

TEddystoneUID contient des identificateurs similaires à ceux présents dans un iBeacon ou un AltBeacon.

Le cadre EddystoneUID diffuse deux identificateurs qui composent l'identificateur général, le UID. Ils peuvent également être utilisés pour définir des régions :

  • Namespace : identifie un groupe de beacons.
  • Instance : identifie un sous-groupe de beacons avec le même espace de nommage.

Voir aussi