Enum VoiceGuidance.Type

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<VoiceGuidance.Type>
    Enclosing class:
    VoiceGuidance

    public static enum VoiceGuidance.Type
    extends java.lang.Enum<VoiceGuidance.Type>
    The list of VoiceGuidance notification types. Used to determine type of voice guidance notification.
    Since:
    100.6.0
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static VoiceGuidance.Type valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static VoiceGuidance.Type[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • APPROACHING_MANEUVER

        public static final VoiceGuidance.Type APPROACHING_MANEUVER
        Approaching maneuver.

        This guidance notification type is set:

        • after passing the previous maneuver (In a half mile, Turn right on North Eureka Street)
        • 20-30 seconds before next maneuver (Turn right on North Eureka Street)
        • 9-10 seconds before next maneuver (Turn right)
        Since:
        100.6.0
      • AT_MANEUVER

        public static final VoiceGuidance.Type AT_MANEUVER
        At maneuver.

        Guidance notification set when at maneuver, this type has no text. Can be used to notify user with a sound (e.g. beep) when at maneuver.

        Since:
        100.6.0
      • APPROACHING_DESTINATION

        public static final VoiceGuidance.Type APPROACHING_DESTINATION
        Approaching destination.

        Guidance notification type set when approaching a destination. Examples:

        • In 200 feet, the destination is ahead
        • You have arrived at 1099 East Hospitality Lane on your right
        Since:
        100.6.0
    • Method Detail

      • values

        public static VoiceGuidance.Type[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (VoiceGuidance.Type c : VoiceGuidance.Type.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static VoiceGuidance.Type valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null