reportEVRoutingResult
fun reportEVRoutingResult(applicationContext: Context, credentialsInfo: String?, fileName: String, evRoutePlan: String?, evRoutingResult: List<String>, callback: FileCreationCallback, destDirPath: String = ResourcesHandler.getExternalScopedStoragePath(applicationContext))
Creates a report file
Parameters
applicationContext
: the context of the application using the module
credentialsInfo
info like UUI, vehicle repository url... in json format
fileName
name of the file to create
evRoutePlan
description of the EV route plan in json format
evRoutingResult
detailed result of the EV optimization in json format
callback
the FileCreationCallback to get result of the reporting file creation
destDirPath
path for the file creation (if not specified file will be created in the /ev-optimization-reports folder in the external scoped storage)