Enum ResultReason

    • Enum Constant Detail

      • NoMatch

        public static final ResultReason NoMatch
        Indicates speech could not be recognized. More details can be found in the NoMatchDetails object.
      • Canceled

        public static final ResultReason Canceled
        Indicates that the recognition was canceled. More details can be found using the CancellationDetails object.
      • RecognizingSpeech

        public static final ResultReason RecognizingSpeech
        Indicates the speech result contains hypothesis text.
      • RecognizedSpeech

        public static final ResultReason RecognizedSpeech
        Indicates the speech result contains final text that has been recognized. Speech Recognition is now complete for this phrase.
      • RecognizingIntent

        public static final ResultReason RecognizingIntent
        Indicates the intent result contains hypothesis text and intent.
      • RecognizedIntent

        public static final ResultReason RecognizedIntent
        Indicates the intent result contains final text and intent. Speech Recognition and Intent determination are now complete for this phrase.
      • TranslatingSpeech

        public static final ResultReason TranslatingSpeech
        Indicates the translation result contains hypothesis text and its translation(s).
      • TranslatedSpeech

        public static final ResultReason TranslatedSpeech
        Indicates the translation result contains final text and corresponding translation(s). Speech Recognition and Translation are now complete for this phrase.
      • SynthesizingAudio

        public static final ResultReason SynthesizingAudio
        Indicates the synthesized audio result contains a non-zero amount of audio data
      • SynthesizingAudioCompleted

        public static final ResultReason SynthesizingAudioCompleted
        Indicates the synthesized audio is now complete for this phrase.
      • RecognizingKeyword

        public static final ResultReason RecognizingKeyword
        Indicates the speech result contains (unverified) keyword text. Added in version 1.3.0
      • RecognizedKeyword

        public static final ResultReason RecognizedKeyword
        Indicates that keyword recognition completed recognizing the given keyword. Added in version 1.3.0
      • SynthesizingAudioStarted

        public static final ResultReason SynthesizingAudioStarted
        Indicates the speech synthesis is now started Added in version 1.7.0
      • TranslatingParticipantSpeech

        public static final ResultReason TranslatingParticipantSpeech
        Indicates the transcription result contains hypothesis text and its translation(s) for other participants in the conversation. Added in version 1.12.0
      • TranslatedParticipantSpeech

        public static final ResultReason TranslatedParticipantSpeech
        Indicates the transcription result contains final text and corresponding translation(s) for other participants in the conversation. Speech Recognition and Translation are now complete for this phrase. Added in version 1.12.0
      • TranslatedInstantMessage

        public static final ResultReason TranslatedInstantMessage
        Indicates the transcription result contains the instant message and corresponding translation(s). Added in version 1.12.0
      • TranslatedParticipantInstantMessage

        public static final ResultReason TranslatedParticipantInstantMessage
        Indicates the transcription result contains the instant message for other participants in the conversation and corresponding translation(s). Added in version 1.12.0
      • EnrollingVoiceProfile

        public static final ResultReason EnrollingVoiceProfile
        Indicates the voice profile is being enrolling and customers need to send more audio to create a voice profile. Added in version 1.16.0
      • EnrolledVoiceProfile

        public static final ResultReason EnrolledVoiceProfile
        The voice profile has been enrolled. Added in version 1.16.0
      • RecognizedSpeakers

        public static final ResultReason RecognizedSpeakers
        Indicates successful identification of some speakers. Added in version 1.16.0
      • RecognizedSpeaker

        public static final ResultReason RecognizedSpeaker
        Indicates successfully verified one speaker. Added in version 1.16.0
      • ResetVoiceProfile

        public static final ResultReason ResetVoiceProfile
        Indicates a voice profile has been reset successfully. Added in version 1.16.0
      • DeletedVoiceProfile

        public static final ResultReason DeletedVoiceProfile
        Indicates a voice profile has been deleted successfully. Added in version 1.16.0
      • VoicesListRetrieved

        public static final ResultReason VoicesListRetrieved
        Indicates the voices list has been retrieved successfully. Added in version 1.16.0
    • Method Detail

      • values

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

        public static ResultReason 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