Package-level declarations
Types
Link copied to clipboard
class ArrivalInformation @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX] ) constructor(val formatter: ArrivalInformationFormatter, val etaDistance: EtaDistance, val stateOfCharge: Int? = null, val stateOfChargeOnReturn: Int? = null, val isOffline: Boolean = false, val arrivalCoordinate: Point? = null)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class ChargeData @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX] ) constructor(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
class CongestionRates @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX] ) constructor(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
class DestinationImageInfo @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX] ) constructor(val url: String, val width: Int, val height: Int)
Link copied to clipboard
data class DestinationMetadata(val extraData: Map<String, String> = emptyMap(), val reviewCount: Int? = null, val phone: String? = null, val website: String? = null, val rating: Float? = null, val description: String? = null, val photos: List<DestinationImageInfo> = emptyList(), val openHours: HoursOfOperation? = null, val plugShareData: PlugShareData? = null, val searchResultMetadata: SearchResultMetadata? = null, val stateOfCharge: Int? = null, val children: List<DestinationResultSuggestedItem> = emptyList())
Link copied to clipboard
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, val isOffline: Boolean = false)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class EtaDistance @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX] ) constructor(val etaMinutes: Double?, val distance: Double?)
Link copied to clipboard
Link copied to clipboard
data class Marker(val type: Marker.Type, val point: Point, val categories: List<String>, val selected: Boolean = false)
Link copied to clipboard
class OpenPeriod @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX] ) constructor(val open: WeekTimestamp, val closed: WeekTimestamp)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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
class TripSummaryModel @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX] ) constructor(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
Link copied to clipboard
class WaypointData @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX] ) constructor(val iconBias: Float, val isChargingStation: Boolean)
Link copied to clipboard
class Weather @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX] ) constructor(val weatherNow: String, val weatherHigh: String, val weatherLow: String, @DrawableRes val iconResId: Int)
Represents the weather information.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun EtaDistance?.toArrivalInformation(formatter: ArrivalInformationFormatter, arrivalStateOfCharge: Int? = null, returnStateOfCharge: Int? = null, isOffline: Boolean = false, arrivalCoordinate: Point? = null): ArrivalInformation
Link copied to clipboard