Class ShadowSpeechRecognizer

    • Constructor Detail

      • ShadowSpeechRecognizer

        public ShadowSpeechRecognizer()
    • Method Detail

      • getLatestSpeechRecognizer

        public static SpeechRecognizer getLatestSpeechRecognizer()
        Returns the latest SpeechRecognizer. This method can only be called after SpeechRecognizer#createSpeechRecognizer() is called.
      • reset

        public static void reset()
      • handleChangeListener

        protected void handleChangeListener​(RecognitionListener listener)
        Handles changing the listener and allows access to the internal listener to trigger events and sets the latest SpeechRecognizer.
      • triggerOnEndOfSpeech

        public void triggerOnEndOfSpeech()
      • triggerOnError

        public void triggerOnError​(int error)
      • triggerOnReadyForSpeech

        public void triggerOnReadyForSpeech​(Bundle bundle)
      • triggerOnPartialResults

        public void triggerOnPartialResults​(Bundle bundle)
      • triggerOnResults

        public void triggerOnResults​(Bundle bundle)
      • triggerOnRmsChanged

        public void triggerOnRmsChanged​(float rmsdB)