toggle menu
NavigationApp
androidJvm
switch theme
search in API
navigation-ux-ev-core
/
com.mapbox.ev.core.search.state
/
ChargeHubAdapterAvailability
Charge
Hub
Adapter
Availability
@
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
Members
Constructors
Charge
Hub
Adapter
Availability
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
adapter
Level
Link copied to clipboard
val
adapterLevel
:
ChargingAdapterLevel
available
Count
Link copied to clipboard
open
override
val
availableCount
:
Int
=
0
charging
Power
Kw
Link copied to clipboard
val
chargingPowerKw
:
Double
?
=
null
is
Unknown
Link copied to clipboard
open
val
isUnknown
:
Boolean
offline
Link copied to clipboard
val
offline
:
Int
=
0
total
Count
Link copied to clipboard
open
override
val
totalCount
:
Int
=
0
unknown
Link copied to clipboard
open
override
val
unknown
:
Int
=
0
Functions
get
Quantity
Color
Link copied to clipboard
open
override
fun
getQuantityColor
(
context
:
Context
)
:
Int
get
Quantity
Text
Link copied to clipboard
open
override
fun
getQuantityText
(
context
:
Context
)
:
String