build
Check, build and save the SDk configuration.
This method will decrypt the configuration data in order to find the URL of the webservice, Download the Zip and retrieve the conf service and the certificate.
Parameters
completion Callback
This callback will be invoked to handle operation result :
- Success : The SDK configuration has been loaded successfully
- Error : an error occurred when trying to load SDK configuration.
Throws
com. streamwide. smartms. lib. core. exception. Missed Configuration Exception
if any required parameter is missing.
open fun build(@Nullable completionCallback: CompletionCallback, @Nullable lifecycle: Lifecycle)
Content copied to clipboard
Check, build and save the SDk configuration.
This method will decrypt the configuration data in order to find the URL of the webservice, Download the Zip and retrieve the conf service and the certificate.
Parameters
completion Callback
This callback will be invoked to handle operation result.
- Success : The SDK configuration has been loaded successfully
- Error : an error occurred when trying to load SDK configuration.
lifecycle
The life cycle of the caller, if it's not null the callback will be invoked with lifecycle aware.
Throws
com. streamwide. smartms. lib. core. exception. Missed Configuration Exception
if any required parameter is missing.