Classes

The following classes are available globally.

ConformanceLock

  • A class for restricting protocol conformance to TomTomSDK components.

    Important

    This class should not be instantiated by any other framework except TomTom components. The API and runtime stability aren’t guaranteed otherwise.

    Important

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

    Declaration

    Swift

    public final class ConformanceLock<T>

TTUnitElectricEfficiency

  • Unit specifying the electric efficiency, e.g., in kilowatt hours per kilometer.

    See more

    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.

    See more

    Declaration

    Swift

    public final class TTUnitEnergyDensity : Dimension

TTUnitFuelPerTime

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

    See more

    Declaration

    Swift

    public final class TTUnitFuelPerTime : Dimension

TTUnitRatio

  • A quantity describing a ratio, also commonly used for probabilities. (For example, 10%.)

    Important

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

    Declaration

    Swift

    public final class TTUnitRatio : Dimension

MetadataProvider

  • MetadataProvider stores during app lifecycle additional metadata for HTTP requests to TomTom Network APIs and implements adding this additional metadata to HTTP request’s headers

    Important

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

    Declaration

    Swift

    public final class MetadataProvider