init
Initializes the Core This is mandatory to use modules that depends on it. It'll download/load the license and the map data and return once all is finished or an error occurred. The progress can be retrieved by adding an observer with addOnInitProgressObserver. When it's finished, all observers set with addOnCoreInitObserver will be notified.
Since
2.2.0 Added licenseKey parameter.
Parameters
the application context
the BeNomad purchase UUID of your command
(Optional) Force activation with this license key. If the key not available init will fail and an error will be returned.
the path where the maps will be deployed (if they are already deployed, specify the absolute path to the folder)
the relative path to the resources folder that must be in the assets folder of the application
the relative path to the maps folder that must be in the assets folder of the application
the callback to get the initialization result. You can add other observers using addOnCoreInitObserver.