NotificationFormatOption
public enum NotificationFormatOption : UInt32, CaseIterable, Codable
Indicates the formatting option of phoneme included in the notification.
-
No phoneme is used for this option as plain orthographic form is included in the notification. Example: ‘After 300 meters turn right onto Wall Street.’.
Declaration
Swift
case plain -
Phoneme in SSML format is included in the notification, only if
ManeuverNotificationOptions.enablePhonemeoption is set totrue. Example: ‘After 300 meters turn right onto ’. This format is not supported by native AVSpeechSynthesizer for iOS. Other 3rd party TTS engines may support it. Please check https://www.w3.org/TR/speech-synthesis11/ for detailed information about the SSML format.<lang xml:lang="ENG"> <phoneme alphabet="nts" ph=""wɔːl"striːt" orthmode="ignorepunct">Wall Street</phoneme></lang>.Declaration
Swift
case ssml