Protocols
The following protocols are available globally.
-
Observer of Application UI Instance state UI Instance is represented by
UIScene
(there could be multipleUIScene
instances per iOS application) orUIApplication
(there is a single instance ofUIApplication
class per iOS application).Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol AppUIInstanceStateObserver : Observer
-
Monitors the iOS application lifecycle and notifies observers on state changes.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol AppLifecycleMonitor
-
A protocol that defines camera actions.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol CameraActions : AnyObject
-
CopyrightsServiceProtocol defines a method used to obtain the copyright informations.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol CopyrightsServiceProtocol
-
Type to control location features.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol LocationActions : AnyObject
-
MapActions
defines a set of methods closely connected to the map.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol MapActions : AnyObject
-
The
Layer
protocol that represents map layer.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol Layer : AnyObject
-
The
Style
protocol that represents the map style.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol Style : AnyObject
-
Base protocol for
AnnotationOptions
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol AnnotationOptions
-
Base protocol for any
Annotation
: polygon, line, circle, marker etc.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol Annotation : AnyObject
-
Protocol that represents the requirements of a circle
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol Circle : Annotation
-
The Line.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol Line : Annotation
-
Protocol that defines requirements for a marker.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol Marker : Annotation
-
Protocol that represents the requirements of a polygon.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol Polygon : Annotation
-
A protocol that defines map annotation actions.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol AnnotationsActions : AnyObject
-
Rendered Feature Actions protocol.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol RenderedFeatureActions
-
RouteDelegate.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol RouteDelegate : AnyObject
-
Protocol specifying the
See moreRoute
object.Declaration
Swift
public protocol Route : AnyObject
-
Protocol allowing management of the route representation on the map.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol RouteActions
-
Protocol that defines method that will be performed when user clicked on traffic incidents icon.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol OnTrafficIncidentObservation : Observer
-
MapMetalRendererFrameCaptureDelegate
exposes possibility to get currently drawn frame as a texture. Using this delegate may have impact of performance rendering.Declaration
Swift
public protocol MapRendererFrameCaptureDelegate : AnyObject
-
The TomTomMapViewDelegate informs when map is ready.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol TomTomMapViewDelegate : AnyObject
-
The methods that an object adopts to manage callout views for a TomTomMapView.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol TomTomMapDataSource : AnyObject
-
A protocol that provides actions delegate from TomTomMap allowing you to interact with the map.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol TomTomMapDelegate : AnyObject
-
Protocol that aggregates core functionalities of the map.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol TomTomMap: CameraActions, AnnotationsActions, RouteActions, LocationActions, MapActions, RenderedFeatureActions, DiagnosticActions