Package-level declarations

The root package containing core components for managing WebRTC communications through Telnyx network.

Types

Link copied to clipboard
data class Call(val context: Context, val client: TelnyxClient, var socket: TxSocket, val sessionId: String, val audioManager: AudioManager, val providedTurn: String = Config.DEFAULT_TURN, val providedStun: String = Config.DEFAULT_STUN)
Link copied to clipboard
data class CredentialConfig(val sipUser: String, val sipPassword: String, val sipCallerIDName: String?, val sipCallerIDNumber: String?, val fcmToken: String?, val ringtone: Any?, val ringBackTone: Int?, val logLevel: LogLevel = LogLevel.NONE, val autoReconnect: Boolean = false) : TelnyxConfig

Represents a SIP user for login - Credential based

Link copied to clipboard
data class CustomHeaders(val name: String, val value: String)

Class that represents a Call and handles all call related actions, including answering and ending a call.

Link copied to clipboard
class TelnyxClient(var context: Context) : TxSocketListener

The TelnyxClient class that can be used to control the SDK. Create / Answer calls, change audio device, etc.

Link copied to clipboard
sealed class TelnyxConfig

Represents a SIP user for login

Link copied to clipboard
data class TokenConfig(val sipToken: String, val sipCallerIDName: String?, val sipCallerIDNumber: String?, val fcmToken: String?, val ringtone: Any?, val ringBackTone: Int?, val logLevel: LogLevel = LogLevel.NONE, val autoReconnect: Boolean = true) : TelnyxConfig

Represents a SIP user for login - Token based