TVOCallMessageDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | TVOCallMessageDelegate.h |
Overview
TVOCallMessageDelegate
provides callbacks when call message is received or when the result of outbound message request is available.
– messageReceivedForCallSid:message:
Notifies the delegate that a message with the event type is received during a TVOCall
.
- (void)messageReceivedForCallSid:(nonnull NSString *)callSid message:(nonnull TVOCallMessage *)callMessage
Parameters
callSid |
The unique identifier of the |
---|---|
callMessage |
The |
Discussion
This feature is currently in Beta.
Declared In
TVOCallMessageDelegate.h
– messageSentForCallSid:voiceEventSid:
Notifies the delegate that a message was sent.
- (void)messageSentForCallSid:(nonnull NSString *)callSid voiceEventSid:(nonnull NSString *)voiceEventSid
Parameters
callSid |
The unique identifier of the |
---|---|
voiceEventSid |
The same unique identifier to be associated with the unique identifier returned from the
|
Discussion
This feature is currently in Beta.
Declared In
TVOCallMessageDelegate.h
– messageFailedForCallSid:voiceEventSid:error:
Notifies the delegate that a message was failed to be sent out.
- (void)messageFailedForCallSid:(nonnull NSString *)callSid voiceEventSid:(nonnull NSString *)voiceEventSid error:(nonnull NSError *)error
Parameters
callSid |
The unique identifier of the |
---|---|
voiceEventSid |
The same unique identifier to be associated with the unique identifier returned from the
|
error |
The |
Discussion
This feature is currently in Beta.
Declared In
TVOCallMessageDelegate.h
– call:didReceiveMessage:
Notifies the delegate that a message with the event type is received during a TVOCall
.
- (void)call:(nonnull TVOCall *)call didReceiveMessage:(nonnull TVOCallMessage *)callMessage
Parameters
call |
The |
---|---|
callMessage |
The |
Discussion
This feature is currently in Beta.
Declared In
TVOCallMessageDelegate.h
– call:didSendMessage:
Notifies the delegate that a message was sent.
- (void)call:(nonnull TVOCall *)call didSendMessage:(nonnull NSString *)voiceEventSid
Parameters
call |
The |
---|---|
voiceEventSid |
The same unique identifier to be associated with the unique identifier returned from the
|
Discussion
This feature is currently in Beta.
Declared In
TVOCallMessageDelegate.h
– call:didFailToSendMessage:error:
Notifies the delegate that a message was failed to be sent out.
- (void)call:(nonnull TVOCall *)call didFailToSendMessage:(nonnull NSString *)voiceEventSid error:(nonnull NSError *)error
Parameters
call |
The |
---|---|
voiceEventSid |
The same unique identifier to be associated with the unique identifier returned from the
|
error |
The |
Discussion
This feature is currently in Beta.
Declared In
TVOCallMessageDelegate.h
– callInvite:didReceiveMessage:
Notifies the delegate that a message with the event type is received by the TVOCallInvite
.
- (void)callInvite:(nonnull TVOCallInvite *)callInvite didReceiveMessage:(nonnull TVOCallMessage *)callMessage
Parameters
callInvite |
The |
---|---|
callMessage |
The |
Discussion
This feature is currently in Beta.
Declared In
TVOCallMessageDelegate.h
– callInvite:didSendMessage:
Notifies the delegate that a message was sent.
- (void)callInvite:(nonnull TVOCallInvite *)callInvite didSendMessage:(nonnull NSString *)voiceEventSid
Parameters
callInvite |
The |
---|---|
voiceEventSid |
The same unique identifier to be associated with the unique identifier returned from the
|
Discussion
This feature is currently in Beta.
Declared In
TVOCallMessageDelegate.h
– callInvite:didFailToSendMessage:error:
Notifies the delegate that a message was failed to be sent out.
- (void)callInvite:(nonnull TVOCallInvite *)callInvite didFailToSendMessage:(nonnull NSString *)voiceEventSid error:(nonnull NSError *)error
Parameters
callInvite |
The |
---|---|
voiceEventSid |
The same unique identifier to be associated with the unique identifier returned from the
|
error |
The |
Discussion
This feature is currently in Beta.
Declared In
TVOCallMessageDelegate.h