Acoustic MCE iBeacon Cordova Plugin
- Source:
Methods
(static) beaconEnabled(callback)
Query if iBeacons are enabled or disabled
Parameters:
Name |
Type |
Description |
callback |
beaconEnabledCallback
|
response callback. |
- Source:
(static) beaconRegions(callback)
Query the current iBeacon regions.
Parameters:
Name |
Type |
Description |
callback |
beaconRegionsCallback
|
The callback with the current iBeacon regions. |
- Source:
(static) beaconUUID(callback)
Query if iBeacon global UUID currently setup.
Parameters:
Name |
Type |
Description |
callback |
beaconUUIDCallback
|
response callback. |
- Source:
(static) setBeaconEnterCallback(callback)
Set callback for entering iBeacon regions
Parameters:
Name |
Type |
Description |
callback |
beaconCallback
|
Callback function for entering iBeacon regions. |
- Source:
(static) setBeaconExitCallback(callback)
Set callback for exiting iBeacon regions
Parameters:
Name |
Type |
Description |
callback |
beaconCallback
|
Callback function for exiting iBeacon regions. |
- Source:
Type Definitions
Beacon
Properties:
Name |
Type |
Description |
major |
integrer
|
Major of beacon region |
minor |
integrer
|
Minor of beacon region |
locationId |
string
|
Identifier of beacon region |
- Source:
beaconCallback(beacon)
Parameters:
Name |
Type |
Description |
beacon |
Beacon
|
Beacon region entered or left. |
- Source:
beaconEnabledCallback(status)
Parameters:
Name |
Type |
Description |
status |
boolean
|
True if iBeacons are enabled, false otherwise. |
- Source:
BeaconMajor
Properties:
Name |
Type |
Description |
major |
integrer
|
Major of beacon region |
- Source:
beaconRegionsCallback(beacons)
Parameters:
Name |
Type |
Description |
beacons |
Array.<BeaconMajor>
|
List of current beacon regions. |
- Source:
beaconUUIDCallback(status)
Parameters:
Name |
Type |
Description |
status |
string
|
iBeacon global UUID setup. |
- Source: