TtiviEvChargingHeaderViewModel

class TtiviEvChargingHeaderViewModel(val image: DrawableResolver? = null, val title: StringResolver? = null, val chargingUnitCost: StringResolver? = null, val chargingRemainingTime: StringResolver? = null, val batteryChargeLevelTreshold: StringResolver? = null, val serviceProviderName: StringResolver? = null) : ViewModel

A ViewModel which can be used to populate Ev Charging modal panel header information.

Constructors

Link copied to clipboard
fun TtiviEvChargingHeaderViewModel(image: DrawableResolver? = null, title: StringResolver? = null, chargingUnitCost: StringResolver? = null, chargingRemainingTime: StringResolver? = null, batteryChargeLevelTreshold: StringResolver? = null, serviceProviderName: StringResolver? = null)

Properties

Link copied to clipboard

Indicates the battery charge level threshold set for charging to be completed.

Link copied to clipboard

Indicates the remaining charging time for battery charge level to reach at set batteryChargeLevelTreshold.

Link copied to clipboard

The unit charging cost of the currrent charging session.

Link copied to clipboard
val image: DrawableResolver? = null

The image of the service provider.

Link copied to clipboard

The name of the service provider.

Link copied to clipboard
val title: StringResolver? = null

The name of the charging station operator.

Inherited functions

Link copied to clipboard