TWCConversationDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | TWCConversation.h |
Overview
Delegate for TWCConversation objects. This delegate is called with conversation life cycle events.
– conversation:didConnectParticipant:
Called when participant is connected to conversation.
- (void)conversation:(nonnull TWCConversation *)conversation didConnectParticipant:(nonnull TWCParticipant *)participant
Parameters
conversation |
The conversation. |
---|---|
participant |
The participant. |
Discussion
Called when participant is connected to conversation.
Declared In
TWCConversation.h
– conversation:didFailToConnectParticipant:error:
Called when participant is not connected due to an error.
- (void)conversation:(nonnull TWCConversation *)conversation didFailToConnectParticipant:(nonnull TWCParticipant *)participant error:(nonnull NSError *)error
Parameters
conversation |
The conversation. |
---|---|
participant |
The participant. |
error |
The error encountered in adding the pariticpant to the conversation, if any. |
Discussion
Called when participant is not connected due to an error.
Declared In
TWCConversation.h
– conversation:didDisconnectParticipant:
Called when specified participant is disconnected from conversation either by request or due to an error.
- (void)conversation:(nonnull TWCConversation *)conversation didDisconnectParticipant:(nonnull TWCParticipant *)participant
Parameters
conversation |
The conversation. |
---|---|
participant |
The participant. |
Discussion
Called when specified participant is disconnected from conversation either by request or due to an error.
Declared In
TWCConversation.h
– conversationEnded:
Called when the conversation ends after the last participant leaves.
- (void)conversationEnded:(nonnull TWCConversation *)conversation
Parameters
conversation |
The conversation. |
---|
Discussion
Called when the conversation ends after the last participant leaves.
Declared In
TWCConversation.h
– conversationEnded:error:
Called when the conversation ends with an error.
- (void)conversationEnded:(nonnull TWCConversation *)conversation error:(nonnull NSError *)error
Parameters
conversation |
The conversation. |
---|
Discussion
Called when the conversation ends with an error.
Declared In
TWCConversation.h
– conversation:didReceiveTrackStatistics:
Called when statistics are received for a track.
- (void)conversation:(nonnull TWCConversation *)conversation didReceiveTrackStatistics:(nonnull TWCMediaTrackStatsRecord *)trackStatistics
Parameters
conversation |
The conversation. |
---|---|
trackStatistics |
Track statistics record. |
Discussion
Called when statistics are received for a track.
Declared In
TWCConversation.h