I need to extend the "listening" time of the speech to text recognizer and am unclear on how to issue the proper intent to do so.
I believe it is
EXTRA_SPEECH_INPUT_COMPLETE_SILENCE_LENGTH_MILLIS
I need the listener to listen for 5000 ms before terminating the listen.
I've tried:
but this doesn't seem to work.
Any advice is appreciated.
Thanks in advance,
Rusty
I believe it is
EXTRA_SPEECH_INPUT_COMPLETE_SILENCE_LENGTH_MILLIS
I need the listener to listen for 5000 ms before terminating the listen.
I've tried:
B4X:
Dim i As Intent
i.Initialize("RecognizerIntent.ACTION.RECOGNIZE_SPEECH", "")
Dim Millis As Long = 5000
i.putExtra("RecognizerIntent.EXTRA_SPEECH_INPUT_MINIMUM_LENGTH_MILLIS", Millis)
Any advice is appreciated.
Thanks in advance,
Rusty