/ultravox-client-sdk-android

Android client SDK for Ultravox.

Primary LanguageKotlinApache License 2.0Apache-2.0

Ultravox client SDK for Android

Android client SDK for Ultravox.

maven package

Usage

session.listen("transcript") {
    run {
        val last = session.lastTranscript
        // Do stuff with the transcript
    }
}
session.joinCall(joinText.text.toString())

See the included example app for a more complete example. To get a joinUrl, you'll want to integrate your server with the Ultravox REST API.

Publishing

  1. Bump the version in ultravox_client's build.gradle.kts
  2. Uncomment the "LocalForCentralUpload" maven repository block in the same gradle file
  3. Uncomment and properly populate the three signing-related values in gradle.properties
  4. Run publishToMaven
  5. Compress the output "ai" directory into a zip file
  6. Upload that zip to https://central.sonatype.com/publishing and work through the UI to publish