System.Beacon.IBeacon.IsEqualTo
Delphi
function IsEqualTo(const AGUID: TGUID; AMajor, AMinor: word): Boolean; overload;
function IsEqualTo(const ANamespace: TNamespace; const AInstance: TInstance): Boolean; overload;
function IsEqualTo(const AIBeacon: IBeacon): Boolean; overload;
C++
virtual bool __fastcall IsEqualTo(const GUID &AGUID, System::Word AMajor, System::Word AMinor) = 0 /* overload */;
virtual bool __fastcall IsEqualTo(const TNamespace &ANamespace, const TInstance &AInstance) = 0 /* overload */;
virtual bool __fastcall IsEqualTo(const _di_IBeacon AIBeacon) = 0 /* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Beacon.pas System.Beacon.hpp |
System.Beacon | IBeacon |
Description
Checks whether the information specified in the parameters corresponds to the current beacon.
Depending on the different overloaded methods you can use the following parameters:
- The first signature accepts
AGUID
,AMajor
andAMinor
: ReturnsTrue
when they are equal to the current beacon properties (GUID, Major, and Minor). Otherwise, it returnsFalse
. - The second signature accepts
ANamespace
andAInstance
: ReturnsTrue
when they are equal to the current EddystoneUID beacon identifier (Namespace and Instance). Otherwise, it returnsFalse
. - The third signature accepts
AIBeacon
: ReturnsTrue
when it is equal to the current beacon, as per reference to its proper interface and the associated content. Otherwise, it returnsFalse
.