pbakondy / cordova-plugin-speechrecognition

:microphone: Cordova Plugin for Speech Recognition
MIT License
197 stars 117 forks source link

Documentation does not indicate how to actually access the resultant speech text #96

Open cdcv opened 5 years ago

cdcv commented 5 years ago

There is currently nowhere that I can see in the documentation any explanation of how to access the speech text that is created. For example, the startListening and stopListening functions take callbacks, but I don't see any documentation about what is passed to the callbacks, or how to access the actual speech. When I set showPartial:false, all I get back from the success callback is 'OK'. When I set showPartial:true, I do get results, but other confusing things happen, and I am never sure when a result is 'done'. Result: spending a bunch of time (guessing others are too) trying to figure out how to do the most basic function: get the speech output!

Thanks