SerenadaCore

class SerenadaCore(val config: SerenadaConfig, context: Context)

Main entry point for the Serenada SDK.

Create an instance with a SerenadaConfig, then use join to start a call session or createRoom to create a new room.

Constructors

Link copied to clipboard
constructor(config: SerenadaConfig, context: Context)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

SDK configuration.

Link copied to clipboard

Callback delegate for session lifecycle events.

Link copied to clipboard

Logger instance for debug output.

Functions

Link copied to clipboard

Create a new room and immediately join it.

Link copied to clipboard
suspend fun createRoomId(): String

Create a room ID without starting a session. Use this when you only need a room ID (e.g., for invite links).

Link copied to clipboard

Join a call using a full URL (e.g., "https://serenada.app/call/ABC123").

fun join(roomId: String, serverHost: String = config.serverHost): SerenadaSession

Join a call using a room ID.