Announcement
public struct Announcement
Fine-grained announcement points, each with its own message, location and distance to the instruction point.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Initializes a announcement with all its initial values.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public init( uuid: UUID = UUID(), point: CLLocationCoordinate2D, distance: Measurement<UnitLength>, type: String, verbalMessage: String = "", verbalMessagePhonetics: Phonetics? = nil )Parameters
uuidThe ID of the announcement.
pointLocation of the announcement defined as a latitude longitude pair.
distanceDistance from
pointto theInstruction.maneuverPoint.typeThe type of the announcement.
verbalMessageThe tagged message to be used for verbal instruction playback. Empty string by default.
verbalMessagePhoneticsPhonetic strings of all of the readable
Instructionproperties.nilby default.
-
Unique ID of the announcement.
Declaration
Swift
public let uuid: UUID -
The coordinate where the announcement should be triggered.
Declaration
Swift
public let point: CLLocationCoordinate2D -
The distance before the instruction at which the announcement should be triggered.
Declaration
Swift
public let distance: Measurement<UnitLength> -
The type of the announcement.
Declaration
Swift
public let type: String -
The tagged message to be used for verbal instruction playback.
Declaration
Swift
public let verbalMessage: String -
Phonetic transcription of the verbal message.
Declaration
Swift
public let verbalMessagePhonetics: Phonetics?
TomTom SDK for iOS (0.53.1)
Announcement