We want to stop the continuous recognition after a delay of 10 seconds but that doesn't work, more and more recognitions are done.
There is no error or something else.
In the samples the code is called only in the interrupted-callback-function.
What should we do?
btw: we use the cordova plugin.
over 6 years ago
you are right, there seems to be a problem. We'll have to investigate this further. Thank you for reporting the issue.
What you can do for now is to trigger the recognition using your own timer. Take a look at the "Basic Recognition On Click" example on how to trigger the recognition once, create a timer and make the same call in an interval you wish but greater than 500ms.