ApiRTC iOS SDK Documentation

Class Received​Call​Invitation

open class ReceivedCallInvitation: ReceivedInvitation  

Defines an invitation received by this client for a call

ReceivedCallInvitation ReceivedCallInvitation ReceivedInvitation ReceivedInvitation ReceivedCallInvitation->ReceivedInvitation

Superclass

ReceivedInvitation

Defines an invitation received by current user

Properties

call​Id

open private(set) var callId: String! 

Methods

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

open func accept(stream: Stream? = nil, options: AnswerOptions? = nil, completion: @escaping (_ error: Error?, _ call: Call?) -> Void)  

Accepts this invitation & notifies sender, returns Call object with completion

decline(completion:​)

open func decline(completion: @escaping (_ error: Error?) -> Void)  

Declines the call invitation & notifies sender

get​Call()

open func getCall() -> Call?  

Returns associated Call