ReceivedCallInvitation

open class ReceivedCallInvitation : ReceivedInvitation

Represents P2P call invitation

  • Declaration

    Swift

    open private(set) var callId: String! { get }
  • Undocumented

    Declaration

    Swift

    open private(set) var callerId: String! { get }
  • Accepts this invitation & notifies sender, returns Call within callback context

    Declaration

    Swift

    open func accept(stream: Stream, completion: @escaping (_ error: Error?, _ call: Call?) -> Void)
  • Declines the call invitation & notifies sender

    Declaration

    Swift

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

    Swift

    open func getCall() -> Call?

    Return Value

    Associated Call