ChargeHubAdapterAvailability

@Serializable
data class ChargeHubAdapterAvailability(val availableCount: Int = 0, val totalCount: Int = 0, val unknown: Int = 0, val offline: Int = 0, val chargingPowerKw: Double? = null, val adapterLevel: ChargingAdapterLevel = ChargingAdapterLevel.Unknown) : ChargingAdapterAvailability

Constructors

Link copied to clipboard
constructor(availableCount: Int = 0, totalCount: Int = 0, unknown: Int = 0, offline: Int = 0, chargingPowerKw: Double? = null, adapterLevel: ChargingAdapterLevel = ChargingAdapterLevel.Unknown)

Properties

Link copied to clipboard
Link copied to clipboard
open override val availableCount: Int = 0
Link copied to clipboard
val chargingPowerKw: Double? = null
Link copied to clipboard
open val isUnknown: Boolean
Link copied to clipboard
val offline: Int = 0
Link copied to clipboard
open override val totalCount: Int = 0
Link copied to clipboard
open override val unknown: Int = 0

Functions

Link copied to clipboard
open override fun getQuantityColor(context: Context): Int
Link copied to clipboard
open override fun getQuantityText(context: Context): String