TVONotificationDelegate Protocol Reference

Conforms to NSObject
Declared in TVONotificationDelegate.h

Overview

Objects can conform to the TVONotificationDelegate protocol to be informed when incoming Call Invites are received or cancelled.

Required Methods

– callInviteReceived: required method

Notifies the delegate that a Call Invite was received.

- (void)callInviteReceived:(nonnull TVOCallInvite *)callInvite

Parameters

callInvite

A TVOCallInvite object.

Discussion

This method gets invoked synchronously on the same dispatch queue where the [TwilioVoiceSDK handleNotification:delegate:delegateQueue:callMessageDelegate:] is called.

See Also

Declared In

TVONotificationDelegate.h

– cancelledCallInviteReceived:error: required method

Notifies the delegate that a Cancelled Call Invite was received.

- (void)cancelledCallInviteReceived:(nonnull TVOCancelledCallInvite *)cancelledCallInvite error:(nonnull NSError *)error

Parameters

cancelledCallInvite

A TVOCancelledCallInvite object.

error

The <NSError> that occurred.

Discussion

A Cancelled Call Invite has the terminal state and can not perform further actions. This method gets invoked synchronously on the same dispatch queue where the [TwilioVoiceSDK handleNotification:delegate:delegateQueue:callMessageDelegate:] is called.

Declared In

TVONotificationDelegate.h