VIClientCallManagerDelegate
Delegate that may be used to handle incoming calls.
Methods
client:didReceiveIncomingCall:withIncomingVideo:headers:
- (void
)client:(VIClient *
)client
didReceiveIncomingCall:(VICall *
)call
withIncomingVideo:(BOOL
)video
headers:(nullable NSDictionary *
)headers
Triggered when an incoming call arrives to the current user.
Returns
type:
void
client:pushDidExpire:
- (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