DailyVoiceClient

class DailyVoiceClient(context: Context, baseUrl: String, callbacks: VoiceEventCallbacks, options: VoiceClientOptions = VoiceClientOptions()) : VoiceClient

An RTVI client. Connects to a Daily Bots backend and handles bidirectional audio and video streaming.

Parameters

context

The Android context object

baseUrl

URL of the Daily Bots backend.

callbacks

Callbacks invoked when changes occur in the voice session.

options

Additional options for configuring the client and backend.

Constructors

Link copied to clipboard
constructor(context: Context, baseUrl: String, callbacks: VoiceEventCallbacks, options: VoiceClientOptions = VoiceClientOptions())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun action(service: String, action: String, arguments: List<Option>): Future<Value, VoiceError>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <E : VoiceClientHelper> registerHelper(service: String, helper: E): E
Link copied to clipboard
fun release()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun unregisterHelper(service: String)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard