TVONotificationDelegate
Objective-C
@protocol TVONotificationDelegate <NSObject>
Swift
protocol TVONotificationDelegate : NSObjectProtocol
Objects can conform to the TVONotificationDelegate protocol to be informed when incoming Call Invites are
received or cancelled.
-
@brief Notifies the delegate that a Call Invite was received.
@discussion This method gets invoked synchronously on the same dispatch queue where the
[TwilioVoiceSDK handleNotification:delegate:delegateQueue:callMessageDelegate:]is called.See
TVOCallInvite
Declaration
Objective-C
- (void)callInviteReceived:(nonnull TVOCallInvite *)callInvite;Swift
func callInviteReceived(_ callInvite: TVOCallInvite)Parameters
callInviteA
<TVOCallInvite>object. -
@brief Notifies the delegate that a Cancelled Call Invite was received.
@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.See
TVOCancelledCallInvite
Declaration
Objective-C
- (void)cancelledCallInviteReceived: (nonnull TVOCancelledCallInvite *)cancelledCallInvite error:(nonnull NSError *)error;Swift
func cancelledCallInviteReceived(_ cancelledCallInvite: TVOCancelledCallInvite, error: any Error)Parameters
cancelledCallInviteA
<TVOCancelledCallInvite>object.errorThe
<NSError>that occurred.