speech recognition, pause time

Is there a way to determine the pause time in speech recognition, after which speech recognition switches off? Maybe a system variable? Which?

first, get two Clock instances; one when the SpeechRecognizer button is clicked, and the other when it spits out the input.

you can then subtract the second values from the instances obtained

Ok and thank you very much. So I can measure the seconds of pause after which the speech recognition stops. But can I also set this time? My problem is that I am building an app that writes voice recordings to a text file. And one of the speakers pauses for too long, so the voice recognition turns off.