Closed xml2208 closed 3 months ago
Yes, by passing a SpeechProgressView when you start listening. The ProgressView's onEndOfSpeech method will be called by the speech engine.
Thanks, @gotev but how to use BaseSpeechRecognitionEngine?
That's only meant to be subclassed to support more speech engines. For your use case simply invoke this method to start listening: https://github.com/gotev/android-speech/blob/1352d77ecdb757164f83e51797827fb445d5be25/speech/src/main/java/net/gotev/speech/Speech.java#L145 passing the SpeechProgressView. You can subclass it if you need further customization.
hi, Is there any way to track the user speaking?/ I need to know the whether he/she finished speaking.