Skip to main content

Start and Stop Recognition

Start recognition

To start vehicle microphone voice recognition, call request(). When called, the SDK activates the microphone and begins recognizing the input voice.

Ensure SDK initialization and result listener registration are completed before calling request(). In modes requiring server-based recognition, app registration or UA authentication must also be completed.

speechToText.addListener(resultListener)
speechToText.request()

Check the preparation and recognition results in the registered ResultListener.

Stop recognition

To stop ongoing voice recognition and terminate microphone use, call stop().

speechToText.stop()

When recognition ends, ResultListener.onEndedRecognition() is called.