ApiRTC iOS SDK Documentation

Enumeration Session​Event

public enum SessionEvent: Event  

Represents Session events

SessionEvent SessionEvent Event Event SessionEvent->Event

Conforms To

Event

Enumeration Cases

disconnected

case disconnected

reconnecting

case reconnecting

reconnected

case reconnected

contact​List​Update

case contactListUpdate(ContactListUpdate) 

Fired when the contact list has been updated. The contact list is updated when a contact leaves a group, joins a group or if its user data changed

incoming​Call

case incomingCall(ReceivedCallInvitation) 

Fired when user receives an incoming call

conversation​Invitation

case conversationInvitation(ReceivedConversationInvitation) 

Fired when a conversation invitation is received

receive​Contact​Message

case receiveContactMessage(ContactMessage) 

Fired when user receives a chat message

external​Camera​State​Update

case externalCameraStateUpdate(ExternalCameraState) 

Fired when external camera state updated

raw​Data​Message

case rawDataMessage([String: Any?]) 

error

case error(Error) 

Operators

==

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