load Configuration
private fun loadConfiguration(configData: ByteArray, host: String, serverSecret: String, applicationId: String, bypassSslValidation: Boolean = false, debugMode: Boolean)
Method to load the configuration serializing the data in the EngineConfiguration data class and initializing the host, serverSecret, applicationId and appVersion instances
Parameters
config Data
the data from instantiate the EngineConfiguration
host
The host address value of the collector server
server Secret
The server secret of the personal Ametista backend instance
bypass Ssl Validation
Whether bypass the SSL certificates validation, this for example when is a self-signed the certificate USE WITH CAUTION
application Id
The identifier of the application to collect its data
debug Mode
concerns whether the Engine must send the requests but the server must not collect as real, this is the use-case of a not-production environment