ReportingManager

Handles file report creation

Properties

Link copied to clipboard
const val TAG: String

Functions

Link copied to clipboard
fun buildEVRoutingFileName(departure: String, arrival: String): String

Builds file name as "departure - arrival - datetime"

Link copied to clipboard

Builds a json that describes the device information

Link copied to clipboard
fun reportEVRoutingResult(applicationContext: Context, credentialsInfo: String?, fileName: String, evRoutePlan: String?, evRoutingResult: List<String>, callback: FileCreationCallback, destDirPath: String = ResourcesHandler.getExternalScopedStoragePath(applicationContext))

Creates a report file