Enumerations
The following enumerations are available globally.
-
Enumerate of TTAlongRouteSearchSortByMode.
- TTDetourTime: sorts returned results by detour time.
- TTDetourDistance: sorts returned results by detour distance.
- TTDetourOffset: sorts returned results by detour offset.
Declaration
Objective-C
enum TTAlongRouteSearchSortByMode {}
Swift
enum TTAlongRouteSearchSortByMode : Int
-
Enumerate of TTAlongRouteSpreadingMode.
- TTAuto: Automatic spreading of returned results evenly along the route.
Declaration
Objective-C
enum TTAlongRouteSpreadingMode {}
Swift
enum TTAlongRouteSpreadingMode : Int
-
Enumeration of segment type
Declaration
Objective-C
enum TTSegmentType {}
Swift
enum TTSegmentType : Int
-
The mapcode type.
Declaration
Objective-C
enum TTMapCodeOptions {}
Swift
struct TTMapCodeOptions : OptionSet
-
Shows the opening hours for next week, starting with the current day in the local time of the POI.
Declaration
Objective-C
enum TTOpeningHoursEnum {}
Swift
enum TTOpeningHoursEnum : Int
-
Enumerate of TTGeoView elements Geopolitical View. The context used to resolve handling disputed territories.
- TTGeoViewNone: Disabling the geopolitical view
- TTGeoViewIL: Geopolitical view for Israel
- TTGeoViewIN: Geopolitical view for India
- TTGeoViewUNIFIED: Geopolitical view for Unified
- TTGeoViewAR: Geopolitical view for Argentina
- TTGeoViewMA: Geopolitical view for Marocco
- TTGeoViewPK: Geopolitical view for Pakistan
Declaration
Objective-C
enum TTGeoView {}
Swift
enum TTGeoView : Int
-
Used to indicate the mode in which the timeZone object should be returned.
Declaration
Objective-C
enum TTTimeZoneEnum {}
Swift
enum TTTimeZoneEnum : Int
-
Public Preview
This is under Public Preview and subject to change by the end of 2020.12. More information is available at: https://developer.tomtom.com/public-previewDeclaration
Swift
@available(*, message: "TT_API_PUBLIC_PREVIEW('byTheEndOf=2020.12', 'This is under Public Preview and subject to change until the end date. More information is available at: https://developer.tomtom.com/public-preview'﹚") @objc public enum OpeningHoursMode : Int