Rate this page:

IncomingCallListener

This API is in beta and subject to change.

Interface that handles incoming calls.

Methods

onIncomingCall

Copy URL
fun onIncomingCall(call: 

Call

,
hasIncomingVideo:

Boolean

,
headers:

Map<String, String>?

):

Unit

This API is in beta and subject to change.

Triggered when there is a new incoming call to current user.

Parameters

  • call:

    Call

    Incoming call instance

  • hasIncomingVideo:

    Boolean

    Whether the caller is the video call initiator

  • headers:

    Map<String, String>?

    Optional

    Optional SIP headers received with the message

Returns

  • type:

    Unit