Skip to main content

Importing SpeechToText SDK

To use the SpeechToText SDK, register the Pleos Maven repository and add the SDK dependency to your app module.

Maven Repository Registration​

Add the Pleos Maven repository to your project's settings.gradle.kts or settings.gradle file.

settings.gradle.kts
dependencyResolutionManagement {
repositories {
google()
mavenCentral()
maven("https://nexus-playground.pleos.ai/repository/maven-releases/")
}
}

SDK Dependency Addition​

Add the SpeechToText SDK dependency to your app module's Gradle file.

app/build.gradle.kts
dependencies {
implementation("ai.pleos.playground:SpeechToText:3.3.1")
}

After Gradle synchronization is complete, declare the SpeechToText permission.