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.enablePhoneme option is set to true. Example:After 300 meters turn right onto <lang xml:lang="ENG"> <phoneme alphabet="nts" ph="&quot;wɔːl&quot;striːt" orthmode="ignorepunct">Wall Street</phoneme></lang>. ’. 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.

    Declaration

    Swift

    case ssml