GuidanceAnnouncement
public struct GuidanceAnnouncement : Equatable
Fine-grained announcement points, each with its own unique id, message and type.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Initializer.
Declaration
Swift
public init( id: UUID = UUID(), language: String, message: String, messagePhonetics: Phonetics? = nil, announcementType: AnnouncementType ) throwsParameters
idThe unique ID of the announcement.
languageThe language of the [message] as an IETF language tag, i.e., a dash-separated two-letter ISO-639 language code, and a two-letter ISO 3166 country code. Example: “en-US”
messageA verbal message for the maneuver.
messagePhoneticsPhonetic strings of all of the readable [Instruction]
announcementTypeType of the announcement.
-
Initializer.
Declaration
Swift
public init(announcement: Announcement) throwsParameters
announcementannouncement object used as a source of data for creating a GuidanceAnnouncement object.
-
The unique ID of the announcement.
Declaration
Swift
public let id: UUID -
The language of the [message] as an IETF language tag, i.e., a dash-separated two-letter ISO-639 language code, and a two-letter ISO 3166 country code. Example: “en-US”
Declaration
Swift
public let language: String -
A verbal message for the maneuver.
Declaration
Swift
public internal(set) var message: String { get } -
Phonetic strings of all of the readable [Instruction]
Declaration
Swift
public let messagePhonetics: Phonetics? -
Type of the announcement.
Declaration
Swift
public let announcementType: AnnouncementType
GuidanceAnnouncement Structure Reference