# Package-level declarations

## Types

Call
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.

CallController
Link copied to clipboard
interface CallController

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

CallControllerListener
Link copied to clipboard
interface CallControllerListener

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

CallDetails
Link copied to clipboard
interface CallDetails

Container holding detailed information about a Call instance.

CallDirection
Link copied to clipboard
enum CallDirection : Enum<CallDirection>
CallEndCause
Link copied to clipboard
enum CallEndCause : Enum<CallEndCause>

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

CallListener
Link copied to clipboard
interface CallListener

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

CallNotificationResult
Link copied to clipboard
interface CallNotificationResult

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

CallState
Link copied to clipboard
enum CallState : Enum<CallState>

Enumeration representing different states during a Call lifecycle.

Experimental
Link copied to clipboard
object Experimental
IceCandidateTransportType
Link copied to clipboard
enum IceCandidateTransportType : Enum<IceCandidateTransportType>

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.

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

MediaConstraints object holds media parameters used to initiate a call.

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

The configuration that manages WebRtc configuration.