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

voiceEventSid

The same unique identifier to be associated with the unique identifier returned from the [TVOCall sendMessage:callMessageDelegate:] 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 received the message.

voiceEventSid

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

error

The <NSError> that occurred.

Discussion

This feature is currently in Beta.

Declared In

TVOCallMessageDelegate.h