Call

open class Call : Observable<CallEvent>
extension Call: Equatable

Represents a P2P call with another contact.

  • id

    Declaration

    Swift

    open private(set) var id: String! { get }
  • Stops call with contact

    Declaration

    Swift

    open func hangUp(completion: @escaping () -> Void)
  • Replaces the currently published stream by a given one

    Declaration

    Swift

    open func replacePublishedStream(withStream stream: Stream, completion: @escaping (_ error: Error?) -> Void)
  • Declaration

    Swift

    open func getContact() -> Contact?

    Return Value

    Called Contact

  • Undocumented

    Declaration

    Swift

    open override func onEvent(_ observer: AnyObject, _ callback: @escaping ((CallEvent) -> Void))
  • Declaration

    Swift

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