Enum Class NotificationFormatOption

java.lang.Object
java.lang.Enum<NotificationFormatOption>
com.here.sdk.navigation.NotificationFormatOption
All Implemented Interfaces:
Serializable, Comparable<NotificationFormatOption>, Constable

public enum NotificationFormatOption extends Enum<NotificationFormatOption>

Indicates the formatting option of phoneme included in the notification.

  • Enum Constant Details

    • PLAIN

      public static final NotificationFormatOption PLAIN

      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.'.

    • SSML

      public static final NotificationFormatOption SSML

      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 compatible with and supported by native android.speech.tts.TextToSpeech for Android. Other 3rd party TTS engines may also support it. Please check https://www.w3.org/TR/speech-synthesis11/ for detailed information about the SSML format.

  • Method Details

    • values

      public static NotificationFormatOption[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static NotificationFormatOption valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null