GuidanceAnnouncement
public struct GuidanceAnnouncement : Equatable
The Announcement class contains information about what the GuidanceEngine should announce during route navigation.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Initializer.
Declaration
Swift
public init( uuid: UUID = UUID(), point: CLLocationCoordinate2D, distanceInMeters: Double, type: String, maneuver: AnnouncementManeuver, message: String? = nil, verbalMessage: String? = nil, verbalMessagePhonetics: Phonetics? = nil )Parameters
uuidThe unique ID of the announcement.
pointThe coordinate where the announcement should be triggered
distanceInMetersThe distance before the instruction at which the announcement should be triggered.
typeThe type of the announcement.
maneuverThe type of the maneuver.
messageA human-readable message for the announcement
verbalMessageThe tagged message to be used for verbal instruction playback.
verbalMessagePhoneticsPhonetic transcriptions of the verbal message.
-
Initializer.
Declaration
Swift
public init(announcement: Announcement)Parameters
announcementannouncement object used as a source of data for creating a GuidanceAnnouncement object.
-
The 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 distanceInMeters: Double -
The type of the announcement.
Declaration
Swift
public let type: String -
The type of the maneuver.
Declaration
Swift
public let maneuver: AnnouncementManeuver -
A human-readable message for the announcement
Declaration
Swift
public let message: String? -
The tagged message to be used for verbal instruction playback.
Declaration
Swift
public internal(set) var verbalMessage: String? { get } -
Phonetic transcription of the verbal message.
Declaration
Swift
public let verbalMessagePhonetics: Phonetics?
GuidanceAnnouncement Structure Reference