Package-level declarations

Types

Link copied to clipboard
interface Call

Call object acts as a handler for managing a connection between call participants, accessing details such as start time, state and possible errors. It also allows to attach listeners to be notified about changes in it's lifecycle.

Link copied to clipboard
interface CallController

CallController provides the entry point to the calling functionality of the Sinch SDK.

Link copied to clipboard

Listener handling changes connected with calling functionality of the Sinch SDK eg. being notified about new incoming call.

Link copied to clipboard
interface CallDetails

Container holding detailed information about a Call instance.

Link copied to clipboard
Link copied to clipboard

Enumeration providing information why given Call has ended. If call has not ended yet NONE end cause is returned.

Link copied to clipboard
interface CallListener

Represents a listener of Call events. The methods handle call state changes.

Link copied to clipboard

The CallNotificationResult is used to indicate the result of a relayed push notification payload and includes call related information.

Link copied to clipboard

Enumeration representing different states during a Call lifecycle.

Link copied to clipboard
data class DialPhoneNumberOptions @JvmOverloads constructor(val serviceId: String? = null, val cli: String? = null)

Options for dialing a phone number through the Sinch Voice V2 platform.

Link copied to clipboard
data class DialSipOptions @JvmOverloads constructor(val serviceId: String? = null, val transport: DialSipTransport? = null, val callHeaders: Map<String, String>? = null)

Options for dialing a SIP endpoint through the Sinch Voice V2 platform.

Link copied to clipboard

SIP transport protocol used to establish the outbound SIP leg.

Link copied to clipboard
data class DialStreamConfiguration @JvmOverloads constructor(val codec: String? = null, val sampleRate: Int? = null, val version: Int? = null)

Audio stream configuration for a stream dial.

Link copied to clipboard
data class DialStreamOptions @JvmOverloads constructor(val serviceId: String? = null, val streamOptions: DialStreamConfiguration? = null, val callHeaders: Map<String, String>? = null)

Options for dialing an audio stream through the Sinch Voice V2 platform.

Link copied to clipboard
data class DialVoiceRelayOptions @JvmOverloads constructor(val ttsVoice: String, val sttLanguage: String, val serviceId: String? = null, val enableInterruptions: Boolean? = null, val callHeaders: Map<String, String>? = null)

Options for dialing a Voice Relay endpoint through the Sinch Voice V2 platform.

Link copied to clipboard
Link copied to clipboard

The enumeration categorizes the possible transport types of the ICE candidates used when creating the peer connection. By using value different then IceCandidateTransportType.ALL it is possible to filter some of the generated ICE candidates out.

Link copied to clipboard
data class MediaConstraints(val isVideoRequested: Boolean)

MediaConstraints object holds media parameters used to initiate a call.

Link copied to clipboard
data class WebRtcCallConfiguration(val iceCandidateTransportType: IceCandidateTransportType = IceCandidateTransportType.ALL)

The configuration that manages WebRtc configuration.