initialize
Initialize GEM sdk. All GEM sdk objects must be used after a successful call to this function.
Return
GemError.NoError - Success.
The error code if it fails. See GemError
Parameters
Android context.
Initial activity where this sdk will be initialized.
This is used on platforms were the timer service cannot be implemented inside the Magic Earth Engine or when the API client can provide better timer service implementation. Default: Internal impl of TimerService.
This is used to get notifications about the services manager creation progress. Default: null
Application variant. Multiple applications can use the same application variant. Default: 0
The path to the "Data" folder of the application located on internal/phone storage. Default: Util.getAppDirInternalPath with provided context as input.
The path to the "Data" folder of the application located on external/SdCard storage. Default: Util.getAppFilesDirExternalPath with provided context as input.
Instructs the engine where to save the data. Default: EDataSavePolicy.UseExternalOnly
This will enable the throwing exceptions mechanism for SDK fatal errors ( experimental ) Default: false
API calls logger. Default null
The SDK language.
The SDK TTS language. If empty is provided ( default ), the TTS will use the SDK language Default : ""
If SDK initializes with success then will call automatically "PositionService.dataSource = produceDefaultLiveDataSource ()". If this value is false then the SDK user must provide a DataSource to PositionService. Default : true
Callback that will be used by breakpad to notice if the dump was successfully saved or not. If both phone and SdCard paths are NULL then the default paths will be used by the SDK.