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.

– 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 TVOCall that received the message.

callMessage

The TVOCallMessage.

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 TVOCall that successfully sent the message.

voiceEventSid

The same unique identifier to be associated with the unique identifier returned from the [TVOCall sendMessage:] method.

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 TVOCall that failed to send the message.

voiceEventSid

The same unique identifier to be associated with the unique identifier returned from the [TVOCall sendMessage:] method.

error

The <NSError> that occurred.

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 TVOCallInvite that received the message.

callMessage

The TVOCallMessage.

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 TVOCallInvite that successfully sent the message.

voiceEventSid

The same unique identifier to be associated with the unique identifier returned from the [TVOCallInvite sendMessage:callMessageDelegate:] method.

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 TVOCallInvite that failed to send the message.

voiceEventSid

The same unique identifier to be associated with the unique identifier returned from the [TVOCallInvite sendMessage:callMessageDelegate:] method.

error

The <NSError> that occurred.

Discussion

This feature is currently in Beta.

Declared In

TVOCallMessageDelegate.h