Enum NoMatchReason

    • Enum Constant Detail

      • NotRecognized

        public static final NoMatchReason NotRecognized
        Indicates that speech was detected, but not recognized.
      • InitialSilenceTimeout

        public static final NoMatchReason InitialSilenceTimeout
        Indicates that the start of the audio stream contained only silence, and the service timed out waiting for speech.
      • InitialBabbleTimeout

        public static final NoMatchReason InitialBabbleTimeout
        Indicates that the start of the audio stream contained only noise, and the service timed out waiting for speech.
      • KeywordNotRecognized

        public static final NoMatchReason KeywordNotRecognized
        Indicates that the spotted keyword has been rejected by the keyword verification service. Added in version 1.5.0.
      • EndSilenceTimeout

        public static final NoMatchReason EndSilenceTimeout
        Indicates that the audio stream contained only silence after the last recognized phrase.
    • Method Detail

      • values

        public static NoMatchReason[] 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 (NoMatchReason c : NoMatchReason.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static NoMatchReason valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getValue

        public int getValue()
        Returns the internal value property id
        Returns:
        the speech property id