System.Beacon

From Appmethod Libraries
Jump to: navigation, search

Provides classes to use the Beacons capabilities of the device that is running your application.

To use beacons in your application, as explained in Using Beacons, use the following classes:

Template:UnitInfo

Units

System.BeaconProvides classes to use the Beacons capabilities of the device that is running your application.
System.Beacon.Components


Classes

EBeaconAdvertiserExceptionType of exception raised for the beacon device objects TBeaconDevice and TCustomBeaconDevice.
EBeaconExceptionType of exceptions raised in relation to Beacon objects.
EBeaconManagerExceptionType of exceptions raised in relation to TBeaconManager objects.
IBeaconInterface which holds the information regarding a detected beacon.
TBeaconAdvertiserThis class is in charge of advertising proximity data for TCustomBeaconDevice.
TBeaconManagerClass in charge of managing the scanning of beacons.
TBeaconManufacturerDataParserBase class you should inherit for creating custom parsers.
TBeaconManufacturerDataParserClass
TBeaconManufacturerParsersClass for managing different parsers.

Types

_di_IBeaconObject Pascal interface of IBeacon for C++ applications.
TBeaconCalcDistanceEventThe TBeaconCalcDistanceEvent is an event type that is fired just before the Distance is calculated.
TBeaconCalcModeIndicates if the IBeacon uses either Raw or Stabilized for the Rssi and Distance.
TBeaconEnterExitEventThe TBeaconEnterExitEvent is an event type for enter and exit events of beacons.
TBeaconInfoThe TBeaconInfo record type holds the parsed information received from the beacon.
TBeaconListThe TBeaconList type is an array of IBeacon.
TBeaconProximityThe TBecaonProximity type indicates the current proximity level for a beacon.
TBeaconProximityEventThe TBeaconProximityEvent is an event type that is fired when the Proximity value changes.
TBeaconRegionEventThe TBeaconRegionEvent is an event type for enter and exit events of beacons on registered regions.
TBeaconScanModeThe TBeaconScanMode type indicates the beacon format to be monitored, either Standard or Alternative.
TManufacturerRawData
TMeanCalculatorRecord that provides methods that you can use to get stabilized values for Rssi. TMeanCalculator is a template record that accepts an Integer or a Double as T.
TParseManufacturerDataEvent

Variables

BEACON_AL_TYPEData received on the Data Type field for an Alternative Beacon.
BEACON_PREFIX
BEACON_ST_TYPEData received on the Data Type field for an iBeacon.

Constants

ACCUMMULATE_DIFF_START_VALUEACCUMMULATE_DIFF_START_VALUE: Extended = 3.5;
APPLEINCAPPLEINC: Integer = $4C;
DEFAULT_TXPOWERDEFAULT_TXPOWER: Integer = $7F;
DIFFERENTIAL_FILTER_BOUNDARYDIFFERENTIAL_FILTER_BOUNDARY: Integer = 7;
DISTANCE_DECIMALSDISTANCE_DECIMALS: Integer = $FFFFFFFE;
KBEACONDEATHTIMEKBEACONDEATHTIME: Integer = $14;
MAJOR_REGION_ALLMAJOR_REGION_ALL: Integer = $FFFFFFFF;
MINOR_REGION_ALLMINOR_REGION_ALL: Integer = $FFFFFFFF;
SCANNING_SLEEPINGTIMESCANNING_SLEEPINGTIME: Integer = $FA;
SCANNING_TIMESCANNING_TIME: Integer = $1F4;
SIGNAL_PROPAGATION_CONSTANTSIGNAL_PROPAGATION_CONSTANT: Comp = 0.5;
TXPOWER_IDETERMINATEDTXPOWER_IDETERMINATED: Integer = $FFFFFFC1;