tripkit-android / com.skedgo.tripkit / Co2Preferences / setEmissions

setEmissions

abstract fun setEmissions(@NonNull modeId:String, gramsCO2PerKm:Float):Unit

Parameters

modeId - String: Mode identifier for which to apply these emissions.

gramsCO2PerKm - Float: Emissions for supplied mode identifier in grams of CO2 per kilometre.