Skip to main content

Introduction

Overview

The SpeechToText SDK provides a voice recognition interface that allows infotainment apps running on Pleos Connect to integrate with the Pleos Voice Recognition Platform (Speech Service). This SDK enables the transmission of user voice to the platform, and the recognized text results are delivered back to the app. The app can utilize the 42dot voice recognition service without needing to manage microphone control or input/output settings.

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.

FunctionSummary
initialize APIAPI to initialize the SpeechToText SDK.
release APIAPI to release the SpeechToText SDK.
registerApp APIAPI to register an app for using server-based speech recognition features.
addListener APIAPI to add an event listener for voice recognition results.
removeListener APIAPI to remove a registered event listener.
request APIAPI to request real-time speech recognition.
stop APIAPI to stop the current voice recognition.
sendAudio APIAPI to extract text from stored PCM audio data.
completeAudioSend APIAPI to complete sending PCM audio data.