Rate this page:

VIIncomingCall

Copy URL
typedef 

void

VIIncomingCall(

VIClient

client,

VICall

call,

bool

video,

Map<String, String>?

headers
)

Signature for callbacks reporting that there is a new incoming call to the current user.

Used in VIClient.

It provides a VICall instance for the incoming call and optional SIP [headers], and indicates if the caller initiated a [video] call.

Parameters

  • client:

    VIClient

    VIClient instance initiated the event

  • call:

    VICall

    Incoming call represented by VICall instance

  • video:

    bool

    Indicates if the caller initiated a video call

  • headers:

    Map<String, String>?

    Optional SIP headers

Returns

  • type:

    void