System.Beacon.TEddystoneUID

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

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

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
record
struct
public
System.Beacon.pas
System.Beacon.hpp
System.Beacon System.Beacon


Beschreibung

Record-Typ, der die Informationen speichert, die mit dem EddystoneUID-Beacon assoziiert sind.

TEddystoneUID enthält Bezeichner, die denen ähnlich sind, die in einem iBeacon oder AltBeacon präsentiert sind.

Das EddystoneUID-Frame überträgt zwei Bezeichner, die den allgemeinen Bezeichner, den UID, enthalten. Sie können auch verwendet werden, um Bereiche zu definieren:

  • Namespace: Identifiziert eine Gruppe von Beacons.
  • Instance: Identifiziert eine Untergruppe von Beacons mit dem selben Namespace.

Siehe auch