Locate API: iBeacon Navigation
iBeacon is a Bluetooth advertising protocol designed by Apple, with native support in iOS. Kiosk Pro’s iBeacon navigation integration allows you to display a specific piece of content based on the device’s proximity to an iBeacon. This allows you to create a location-aware interactive presentation.
While this isn’t a great fit for a traditional kiosk where the device is in a fixed location, it is more useful for deployments where devices are distributed to visitors, like a multimedia tour of a museum.
- Kiosk Pro Settings
- By Import - recommended, works both online & offline, requires inclusion of kiosk_functions.js prior to any of the following calls.
- By Injection - only works offline, may not be available 'onload'.
- iBeacon Configuration
- UUID = B9407F30-F5F8-466E-AFF9-25556B57FE6D
- Major Value = 1
- Minor Value = 10
- Major Value = 1
- Minor Value = 20
- Major Value = 2
- Minor Value = 30
- Access to Location Services
This function initiates monitoring for iBeacons and defines the filepath to the schema file that instructs the app how to respond to specific beacons.
If Kiosk Pro is unable tp find or parse the .xml file, the app will immediately call kp_iBeaconAPI_didFailMonitoringWithError, passing more detail about the error as a parameter.
This function ends monitoring for iBeacons.
This callback is run each time the device enters a new iBeacon region defined in the current schema file.
kp_iBeaconAPI_didEnterBeaconRegion(UUID, majorValue, minorValue, name);
This callback is run each time the device exits an iBeacon region defined in the current schema file.
kp_iBeaconAPI_didExitBeaconRegion(UUID, majorValue, minorValue, name);
This callback is run following an unsuccessful call to initiate monitoring using ' kp_iBeaconAPI_startMonitoringWithPath2SchemeFile'.