Classes

The following classes are available globally.

  • EventSubscriber - generic helper class used for subscribing events. The event needs to implement the Event protocol in order to listen for it.

    Important

    This is a Public Preview API. It may be changed or removed at any time.

    Declaration

    Swift

    public class EventSubscriber<T> where T : Event

PointGeometry

  • A single position.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public class PointGeometry : GeoJSON

MultiPointGeometry

  • An array of positions.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public class MultiPointGeometry : GeoJSON

LineStringGeometry

  • An array of 2 or more positions.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public class LineStringGeometry : GeoJSON

MultiLineStringGeometry

  • An array of lineString coordinate arrays.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public class MultiLineStringGeometry : GeoJSON

PolygonGeometry

  • An array of linear rings.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public class PolygonGeometry : GeoJSON

MultiPolygonGeometry

  • An array of polygon coordinate arrays.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public class MultiPolygonGeometry : GeoJSON

TTUnitElectricEfficiency

  • Unit specifying the electric efficiency, for example, in kilowatt hours per kilometer.

    Important

    This is a Public Preview API. It may be changed or removed at any time.

    Declaration

    Swift

    public final class TTUnitElectricEfficiency : Dimension

TTUnitEnergyDensity

  • Unit specifying the energy density (of fuel). For example, energy density is 34.2 MJ/l for gasoline and 35.8 MJ/l for diesel fuel.

    Important

    This is a Public Preview API. It may be changed or removed at any time.

    Declaration

    Swift

    public final class TTUnitEnergyDensity : Dimension

TTUnitFuelPerTime

  • Unit specifying the fuel usage (of a vehicle) over time.

    Important

    This is a Public Preview API. It may be changed or removed at any time.

    Declaration

    Swift

    public final class TTUnitFuelPerTime : Dimension

ObservableHandler

  • Important

    This is a Public Preview API. It may be changed or removed at any time.

    Declaration

    Swift

    public class ObservableHandler : Observable
  • Specifies the efficiency of the vehicle.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public class CombustionVehicleEfficiency
  • Describes capacity and consumption of a vehicle.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public class ConsumptionModel<T, U> where T : Dimension, U : Dimension
  • Specifies the efficiency of the vehicle.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public class ElectricVehicleEfficiency

Vehicle

  • Specifies the vehicle (or lack of one).

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public class Vehicle

Pedestrian

  • A pedestrian.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public class Pedestrian : Vehicle

Bicycle

  • A vehicle of type bicycle.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public class Bicycle : Vehicle

Car

  • Car

    A vehicle of type car.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public class Car : Vehicle, Motorized

Motorcycle

  • A vehicle of type motorcycle.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public class Motorcycle : Vehicle, Motorized

Van

  • Van

    A vehicle of type van.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public class Van : Vehicle, Motorized

Taxi

  • A vehicle of type taxi.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public class Taxi : Vehicle, Motorized

Bus

  • Bus

    A vehicle of type bus.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public class Bus : Vehicle, Motorized

Truck