ApiRTC iOS SDK Documentation

Enumeration Conversation​Event

public enum ConversationEvent: Event  

Represents Conversation events

ConversationEvent ConversationEvent Event Event ConversationEvent->Event

Conforms To

Event

Enumeration Cases

joined

case joined

Fired when conversation has been joined by the current user

left

case left

Fired when conversation has been left by the current user

contact​Joined

case contactJoined(Contact) 

Fired when a contact joined the conversation

contact​Left

case contactLeft(Contact) 

Fired when a contact left the conversation

stream​List​Changed

case streamListChanged(StreamInfoType, StreamInfo) 

Fired when available streams list changed

stream​Added

case streamAdded(Stream) 

Fired when a stream is received from this conversation

stream​Removed

case streamRemoved(Stream) 

Fired when stream is removed from this conversation

local​Stream​Updated

case localStreamUpdated(StreamUpdate) 

Fired when local stream properties changed

remote​Stream​Updated

case remoteStreamUpdated(StreamUpdate) 

Fired when remote stream properties changed

waiting​For​Moderator​Acceptance

case waitingForModeratorAcceptance(Contact?) 

Fired when entering the waiting room of a conversation, requiring the moderator to accept before joining the room, contains moderator Contact

receive​Group​Chat​Message

case receiveGroupChatMessage(GroupChatMessage) 

Fired when receive a chat message

joined​Group​Chat

case joinedGroupChat

Fired when the current user join group chat

contact​Joined​Waiting​Room

case contactJoinedWaitingRoom(Contact) 

contact​Left​Waiting​Room

case contactLeftWaitingRoom(Contact) 

new​Whiteboard​Client

case newWhiteboardClient(WhiteboardClient) 

whiteboard​Closed

case whiteboardClosed

Whiteboars is closed by owner

raw​Data​Message

case rawDataMessage([String: Any?]) 

error

case error(Error) 

Operators

==

public static func == (lhs: ConversationEvent, rhs: ConversationEvent) -> Bool