Introduction
Overview
The SpeechToText SDK provides a voice recognition feature based on a voice interface by enabling integration with the 42dot voice recognition platform in applications running on the 42dot Pleos Vehicle OS. The SDK transmits the user's voice to the Speech Service platform according to the API format provided by the SpeechToText SDK and delivers the processed text results from the Speech Service platform back to the client. By using the SpeechToText SDK, IVI applications can utilize the 42dot voice recognition service without needing to manage microphone control or handle input and output operations.
- Apply the updated package naming. (Modify module-level build.gradle and import statements)
- Apply the updated permission naming in the manifest file.
- Redownload the Pleos Connect Emulator.
Development Environment Setup
To use the SpeechToText SDK, install the Pleos Connect Emulator in Android Studio and then proceed with AVD setup.
SpeechToText API
The list of APIs provided by the SpeechToText SDK is as follows.
Function | Summary |
---|---|
initialize API | API to initialize the SpeechToText SDK. |
release API | API to release the SpeechToText SDK. |
registerApp API | API to register an app for using server-based speech recognition features. |
addListener API | API to add an event listener for voice recognition results. |
removeListener API | API to remove a registered event listener. |
request API | API to request real-time speech recognition. |
stop API | API to stop the current voice recognition. |
sendAudio API | API to extract text from stored PCM audio data. |
completeAudioSend API | API to complete sending PCM audio data. |