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 |
---|
Discussion
This method gets invoked synchronously on the same dispatch queue where the [TwilioVoice handleNotification:delegate:delegateQueue:]
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 |
---|---|
error |
The |
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 [TwilioVoice handleNotification:delegate:delegateQueue:]
is called.
See Also
Declared In
TVONotificationDelegate.h