Package-level declarations

Handles incoming Verto protocol messages and responses.

Types

Link copied to clipboard
data class AnswerResponse(val callId: UUID, val sdp: String, val customHeaders: ArrayList<CustomHeaders> = arrayListOf()) : ReceivedResult

A response to an invitation that the user created. Someone has answered your call.

Link copied to clipboard
data class ByeResponse(val callId: UUID) : ReceivedResult
Link copied to clipboard
data class DisablePushResponse(val success: Boolean, val message: String) : ReceivedResult
Link copied to clipboard
data class InviteResponse(val callId: UUID, val sdp: String, val callerIdName: String, val callerIdNumber: String, val sessid: String, val customHeaders: ArrayList<CustomHeaders> = arrayListOf()) : ReceivedResult

An invitation response containing the required information

Link copied to clipboard
data class LoginResponse(val sessid: String) : ReceivedResult

A login response received by the socket connection

Link copied to clipboard
data class MediaResponse(val callId: UUID, val callerIdName: String, val callerIdNumber: String, val sessid: String) : ReceivedResult
Link copied to clipboard
data class ReceivedMessageBody(val method: String, val result: ReceivedResult?)

A data class the represents the structure of every message received via the socket connection

Link copied to clipboard
sealed class ReceivedResult

Class representations of responses received on the socket connection

Link copied to clipboard
data class RingingResponse(val callId: UUID, val callerIdName: String, val callerIdNumber: String, val sessid: String, val customHeaders: ArrayList<CustomHeaders> = arrayListOf()) : ReceivedResult
Link copied to clipboard
Link copied to clipboard
data class SocketResponse<out T>(var status: SocketStatus, val data: T?, val errorMessage: String?)