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
interface ArrivalInformationFormatter
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
interface ChargingAdapterAvailability
Link copied to clipboard
Link copied to clipboard
interface CommerceManager
Link copied to clipboard
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
Link copied to clipboard
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface PromotionProperties
Link copied to clipboard
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
interface SearchSuggestItem
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