CallUiState

data class CallUiState(val phase: CallPhase = CallPhase.Idle, val roomId: String? = null, val localCid: String? = null, val statusMessageResId: Int? = null, val errorMessageResId: Int? = null, val errorMessageText: String? = null, val isHost: Boolean = false, val participantCount: Int = 0, val localAudioEnabled: Boolean = true, val localVideoEnabled: Boolean = true, val remoteParticipants: List<RemoteParticipant> = emptyList(), val connectionStatus: ConnectionStatus = ConnectionStatus.Connected, val isSignalingConnected: Boolean = false, val iceConnectionState: String = "NEW", val connectionState: String = "NEW", val signalingState: String = "STABLE", val activeTransport: String? = null, val webrtcStatsSummary: String = "", val realtimeCallStats: RealtimeCallStats? = null, val isFrontCamera: Boolean = true, val isScreenSharing: Boolean = false, val localCameraMode: LocalCameraMode = LocalCameraMode.SELFIE, val isFlashAvailable: Boolean = false, val isFlashEnabled: Boolean = false, val remoteContentCid: String? = null, val remoteContentType: String? = null)

Constructors

Link copied to clipboard
constructor(phase: CallPhase = CallPhase.Idle, roomId: String? = null, localCid: String? = null, statusMessageResId: Int? = null, errorMessageResId: Int? = null, errorMessageText: String? = null, isHost: Boolean = false, participantCount: Int = 0, localAudioEnabled: Boolean = true, localVideoEnabled: Boolean = true, remoteParticipants: List<RemoteParticipant> = emptyList(), connectionStatus: ConnectionStatus = ConnectionStatus.Connected, isSignalingConnected: Boolean = false, iceConnectionState: String = "NEW", connectionState: String = "NEW", signalingState: String = "STABLE", activeTransport: String? = null, webrtcStatsSummary: String = "", realtimeCallStats: RealtimeCallStats? = null, isFrontCamera: Boolean = true, isScreenSharing: Boolean = false, localCameraMode: LocalCameraMode = LocalCameraMode.SELFIE, isFlashAvailable: Boolean = false, isFlashEnabled: Boolean = false, remoteContentCid: String? = null, remoteContentType: String? = null)

Properties

Link copied to clipboard
val activeTransport: String? = null
Link copied to clipboard
Link copied to clipboard
val connectionStatus: ConnectionStatus
Link copied to clipboard
val errorMessageResId: Int? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val isFlashEnabled: Boolean = false
Link copied to clipboard
Link copied to clipboard
val isHost: Boolean = false
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val localCameraMode: LocalCameraMode
Link copied to clipboard
val localCid: String? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val phase: CallPhase
Link copied to clipboard
val realtimeCallStats: RealtimeCallStats? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val remoteParticipants: List<RemoteParticipant>
Link copied to clipboard
Link copied to clipboard
val roomId: String? = null
Link copied to clipboard
Link copied to clipboard
val statusMessageResId: Int? = null
Link copied to clipboard