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, val arrivalCoordinate: Point? = null)
Link copied to clipboard
Link copied to clipboard
sealed class Category
Link copied to clipboard
Link copied to clipboard
interface CommerceManager
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
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 rating: Float? = 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, val children: List<DestinationResultSuggestedItem> = emptyList())
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
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 categories: List<String>, val selected: Boolean = false)
Link copied to clipboard
data class OpenPeriod(val open: WeekTimestamp, val closed: WeekTimestamp)
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
abstract class Rating
Link copied to clipboard
class RoutablePointAsJsonSerializer : KSerializer<RoutablePoint>
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
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
class WaypointData @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX]) constructor(val iconBias: Float, val isChargingStation: Boolean)

Properties

Link copied to clipboard

Functions

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