TalkSDK-1.0.0 Documentation Beta

Protocol Call​Screen

@objc public protocol CallScreen

A screen presented for an ongoing call.

This screen is shown during the all states of call (starting, in progress, fail, etc). It contains various sub-views related to displaying info depending on call state.

CallScreen CallScreen CallViewController CallViewController CallViewController->CallScreen

Types Conforming to Call​Screen

CallViewController

A view controller displayed for an ongoing call.

Requirements

call​Loading​View

var callLoadingView: UIView & CallLoadingView

Loading view with activity indicator.

call​Error​View

var callErrorView: UIView & CallErrorView

Error view with retry and cancel buttons.

call​Timer​View

var callTimerView: UIView & CallTimerView

Timer view displaying call duration.

call​Buttons​View

var callButtonsView: UIView & CallButtonsView

View containing call screen action buttons.

disconnect()

func disconnect()

Disconnects the call.

It is possible to manually disconnect the call from every state of the call. After disconnecting, the callDidFinishHandler is called.