ApiRTC iOS SDK Documentation

Class Received​Conversation​Invitation

open class ReceivedConversationInvitation: ReceivedInvitation  

Defines an invitation received by this client for a conversation

ReceivedConversationInvitation ReceivedConversationInvitation ReceivedInvitation ReceivedInvitation ReceivedConversationInvitation->ReceivedInvitation

Superclass

ReceivedInvitation

Defines an invitation received by current user

Methods

accept(stream:​options:​completion:​)

open func accept(stream: Stream? = nil, options: JoinOptions? = nil, completion: @escaping (_ error: Error?, _ conversation: Conversation?) -> Void)  

Accepts the invitation & notifies sender

decline(reason:​)

open func decline(reason: String? = nil)  

Declines the invitation & notifies sender

get​Conversation()

open func getConversation() -> Conversation?  

Returns associated conversation