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
data class CongestionRates(val lowCongestionRange: IntRange, val moderateCongestionRange: IntRange, val heavyCongestionRange: IntRange, val severeCongestionRange: IntRange, val lowCongestionColor: Color, val moderateCongestionColor: Color, val heavyCongestionColor: Color, val severeCongestionColor: Color)
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
interface DestinationResultSuggestedItem
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 shortName: String? = null, 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
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 routablePoint: RoutablePoint?, val address: String?, val categories: List<String>, val evWaypoint: EvWaypoint?)
Link copied to clipboard
interface SearchSuggestItem
Link copied to clipboard
data class TripSummaryModel(val traveledToRemainingRatio: Float, val legDistanceRemaining: String, val legTimeRemaining: String, val legArrivalTime: String, val preferredRemainingArrivalMetricType: RemainingArrivalMetricType, val isOffline: Boolean, val legStateOfCharge: Int? = null, val trafficGradientStops: List<Pair<Float, Color?>> = emptyList(), val waypointsData: List<WaypointData> = emptyList())
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
fun EtaDistance?.toArrivalInformation(formatter: ArrivalInformationFormatter, arrivalStateOfCharge: Int? = null, returnStateOfCharge: Int? = null, isOffline: Boolean = false): ArrivalInformation