CallActions

interface CallActions

Interface for call actions that can be performed on a participant.

Functions

Link copied to clipboard
abstract fun isLocalParticipant(sessionId: String): Boolean

Check if a participant is local based on their session ID

Link copied to clipboard
abstract suspend fun muteUserAudio(userId: String): Result<MuteUsersResponse>

Mute audio for a specific user

Link copied to clipboard
abstract suspend fun muteUserScreenShare(userId: String): Result<MuteUsersResponse>

Mute screen sharing for a specific user

Link copied to clipboard
abstract suspend fun muteUserVideo(userId: String): Result<MuteUsersResponse>

Mute video for a specific user

Link copied to clipboard
abstract suspend fun pinParticipant(userId: String, sessionId: String)

Pin a participant

Link copied to clipboard
abstract suspend fun unpinParticipant(sessionId: String)

Unpin a participant