HTTPFramework
public enum HTTPFramework
For internal use only. Manages the initialization of the TomTomSDKFrameworkHTTPInternal and internal HTTP interceptors.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Initialize the TomTomSDKFrameworkHTTPInternal. Needs to be called before using TomTomSDKFrameworkHTTPInternal. After the first call, other calls are no-op.
Declaration
Swift
public static func initialize()
-
Sets the HTTPInterceptorDelegate. When nil is set it clears the stored delegate.
Declaration
Swift
public static func setNavigationHTTPInterceptorDelegate(_ delegate: HTTPInterceptorDelegate?)
-
Sets the HTTPInterceptorDelegate. When nil is set it clears the stored delegate.
Declaration
Swift
public static func setMapDisplayHTTPInterceptorDelegate(_ delegate: HTTPInterceptorDelegate?)
-
Adds the
HTTPInterceptorObserver
.Declaration
Swift
public static func addHTTPInterceptorObserver(_ observer: HTTPInterceptorObserver)
-
Removes the
HTTPInterceptorObserver
.Declaration
Swift
public static func removeHTTPInterceptorObserver(_ observer: HTTPInterceptorObserver)