CallListener

interface CallListener

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

For a complete outgoing call, the listener methods will be called in the following order:

  1. onCallProgressing

  2. onCallEstablished

  3. onCallEnded

For a complete incoming call, the listener methods will be called in the following order (after the callback method CallControllerListener.onIncomingCall has been called):

  1. onCallEstablished

  2. onCallEnded

Inheritors

Functions

Link copied to clipboard
abstract fun onCallEnded(call: Call)

Tells the listener that the call has entered the CallState.ENDED state.

Link copied to clipboard
abstract fun onCallEstablished(call: Call)

Tells the listener that the call has entered the CallState.ESTABLISHED state.

Link copied to clipboard
abstract fun onCallProgressing(call: Call)

Tells the listener that the outgoing call has entered the CallState.PROGRESSING state and a progress tone can be played.