Class SpeechRecognitionEventArgs

    • Constructor Detail

      • SpeechRecognitionEventArgs

        public SpeechRecognitionEventArgs​(long eventArgs)
        Constructs an instance of a SpeechRecognitionEventArgs object.
        Parameters:
        eventArgs - recognition event args object.
      • SpeechRecognitionEventArgs

        public SpeechRecognitionEventArgs​(long eventArgs,
                                          boolean dispose)
        Constructs an instance of a SpeechRecognitionEventArgs object.
        Parameters:
        eventArgs - recognition event args object.
        dispose - dispose of the event args when done.
    • Method Detail

      • getResult

        public final SpeechRecognitionResult getResult()
        Specifies the recognition result.
        Returns:
        the recognition result.
      • toString

        public String toString()
        Returns a String that represents the speech recognition result event.
        Overrides:
        toString in class RecognitionEventArgs
        Returns:
        A String that represents the speech recognition result event.