SerenadaCallFlowConfig

data class SerenadaCallFlowConfig(val uiVariant: SerenadaCallUiVariant = SerenadaCallUiVariant.Standard, val screenSharingEnabled: Boolean = true, val inviteControlsEnabled: Boolean = true, val debugOverlayEnabled: Boolean = false, val autoHideControls: Boolean = true, val snapshotEnabled: Boolean = false, val avatarProvider: AvatarProvider? = null, val videoEnabled: Boolean = true, val systemPictureInPictureEnabled: Boolean = false)

Constructors

Link copied to clipboard
constructor(uiVariant: SerenadaCallUiVariant = SerenadaCallUiVariant.Standard, screenSharingEnabled: Boolean = true, inviteControlsEnabled: Boolean = true, debugOverlayEnabled: Boolean = false, autoHideControls: Boolean = true, snapshotEnabled: Boolean = false, avatarProvider: AvatarProvider? = null, videoEnabled: Boolean = true, systemPictureInPictureEnabled: Boolean = false)

Properties

Link copied to clipboard

When true (default), the call controls bar fades out after a few seconds of idle time and a tap on the stage brings it back. When false, the controls are always visible and the idle timer never runs.

Link copied to clipboard

Optional resolver that returns an avatar for a remote participant's host-supplied peerId (passed to SerenadaCore.join). When unset or when peerId is absent on the participant, the call UI shows an initials placeholder derived from their display name.

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

When true, the call UI shows a circular shutter button anchored to the short edge of the current large preview (bottom in portrait, right in landscape). Tapping it captures the visible stream via SerenadaSession.captureSnapshot. Defaults to false.

Link copied to clipboard

Enables Android system Picture-in-Picture while a call is active.

Link copied to clipboard
Link copied to clipboard
val videoEnabled: Boolean = true

When true (default), the call UI shows the video on/off and camera mode (flip) controls and the SDK requests camera permission on join. When false, both controls are hidden and — for URL-first call flows — the internally-created session is configured with no camera modes so the camera is never requested. For session-first usage, host apps that want a fully audio-only call should also pass cameraModes = emptyList() to the SerenadaConfig used to build the session.