OfflineHorizonEngineFactory

public enum OfflineHorizonEngineFactory

Factory to create a default TomTomSDKNavigationEngines/HorizonEngine with an offline map.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Creates a default horizon engine with the provided offline map.

    Throws

    An error if either NDSStore is invalid or an instance of HorizonEngine cannot be created.

    Declaration

    Swift

    public static func create(ndsStore: NDSStore) throws
        -> HorizonEngine

    Parameters

    ndsStore

    A data store that is based on an offline NDS map.

    Return Value

    Instance of HorizonEngine.