Rate this page:

VIClientCallManagerDelegate

Delegate that may be used to handle incoming calls.

Methods

client:didReceiveIncomingCall:withIncomingVideo:headers:

Copy URL
- (

void

)client:(

VIClient *

)client
didReceiveIncomingCall:(

VICall *

)call
withIncomingVideo:(

BOOL

)video
headers:(

nullable NSDictionary *

)headers

Triggered when an incoming call arrives to the current user.

Parameters

  • client:

    VIClient *

    Client instance

  • call:

    VICall *

    Call instance

  • video:

    BOOL

    Whether the incoming call offers video

  • headers:

    nullable NSDictionary *

    Optional headers passed with the event

Returns

  • type:

    void

client:pushDidExpire:

Optional
Copy URL
- (

void

)client:(

VIClient *

)client
pushDidExpire:(

NSUUID *

)callKitUUID

Triggered when a previously received VoIP push notification is expired, i.e. [VIClientCallManagerDelegate client:didReceiveIncomingCall:withIncomingVideo:headers:] is not invoked for the specified callKitUUID.

This method can be used for CallKit integration.

It is recommended to end the CXCall via [CXProvider reportCallWithUUID:endedAtDate:reason] API on this method invocation.

Parameters

  • client:

    VIClient *

    Client instance

  • callKitUUID:

    NSUUID *

    CallKit UUID for the incoming call for which the push notification is expired. Always matches the callKitUUID returned from [VIClient handlePushNotification:] API

Returns

  • type:

    void