Package-level declarations

Types

Link copied to clipboard
class ArrivalInformation(val formatter: ArrivalInformationFormatter, val etaDistance: EtaDistance, val stateOfCharge: Int? = null, val stateOfChargeOnReturn: Int? = null, val isOffline: Boolean = false)
Link copied to clipboard
Link copied to clipboard
sealed class Category
Link copied to clipboard
data class ChargeData(val chargeFromPercent: Int, val chargeToPercent: Int, val chargeForMin: Long, val powerKw: Int)

Defines how many minutes required from to charge to the given percent with given power (kW).

Link copied to clipboard
Link copied to clipboard
interface CommerceManager
Link copied to clipboard
data class DestinationImageInfo(val url: String, val width: Int, val height: Int)
Link copied to clipboard
data class DestinationMetadata(val extraData: Map<String, String> = mapOf(), val reviewCount: Int? = null, val phone: String? = null, val website: String? = null, val averageRating: Double? = null, val description: String? = null, val primaryPhotos: List<DestinationImageInfo> = listOf(), val openHours: HoursOfOperation? = null, val plugShareData: PlugShareData? = null, val searchResultMetadata: SearchResultMetadata? = null, val stateOfCharge: Int? = null)
Link copied to clipboard
data class DestinationSearchResult(val originalSearchModel: OriginalSearchModel, val address: SearchAddress?, val clickCoordinate: Point? = null, val coordinate: Point, val etaMinutes: Double?, val id: String, val metadata: DestinationMetadata?, val name: String, val routablePoints: List<RoutablePoint>?, val type: SearchResultType, val categories: List<String>?, val makiIcon: String?, val distance: Double?, val descriptionText: String?, val destinationSource: DestinationSource = DestinationSource.MBX, val mapboxId: String? = null)
Link copied to clipboard
Link copied to clipboard
class EtaDistance(val etaMinutes: Double?, val distance: Double?)
Link copied to clipboard
data class FasterRouteMetadata(val centerPoint: Point, val differentSegment: List<Point>, val primaryRouteDuration: Duration, val alternativeRouteDuration: Duration, val route: NavigationRoute)
Link copied to clipboard
sealed class HoursOfOperation
Link copied to clipboard
data class Marker(val type: Marker.Type, val point: Point, val selected: Boolean = false)
Link copied to clipboard
data class OpenPeriod(val open: WeekTimestamp, val closed: WeekTimestamp)
Link copied to clipboard
sealed class OriginalSearchModel
Link copied to clipboard
data class Outlet(val id: String? = null, val connector: Int? = null, val kilowatts: Int? = null, val power: Int? = null)
Link copied to clipboard
data class PlugShareData(val id: String? = null, val networkId: String? = null, val outlets: List<Outlet> = listOf(), val costDescription: String? = null)
Link copied to clipboard
class PointAsJsonSerializer : KSerializer<Point>
Link copied to clipboard
interface Port
Link copied to clipboard
Link copied to clipboard
sealed class Rating
Link copied to clipboard
interface RouteManeuver
Link copied to clipboard
data class RoutePlace(val id: String, val mapboxId: String?, val name: String, val coordinate: Point, val address: String?, val evWaypoint: EvWaypoint?)
Link copied to clipboard
Link copied to clipboard
data class TripSummaryModel(val distanceRemaining: String, val timeRemaining: String, val arrivalTime: String, val preferredRemainingArivalMetricType: RemainingArrivalMetricType, val isOffline: Boolean, val stateOfCharge: Int? = null)

Functions

Link copied to clipboard
fun EtaDistance?.toArrivalInformation(formatter: ArrivalInformationFormatter, arrivalStateOfCharge: Int? = null, returnStateOfCharge: Int? = null, isOffline: Boolean = false): ArrivalInformation