CallRegistryObserver

@available(iOS 12.0, *)
@objc(BDKCallRegistryObserver)
public protocol CallRegistryObserver : NSObjectProtocol

An observer of a CallRegistry object.

You subscribe as a CallRegistryObserver when you want to be notified when Call objects are added or removed from the CallRegistry.

  • Invoked when a call is added to the registry.

    Declaration

    Swift

    @objc(registry:didAddCall:)
    func registry(_ registry: CallRegistry, didAdd call: Call)

    Parameters

    registry

    the registry object.

    call

    the call added.

  • Invoked when a call is removed from the registry.

    Declaration

    Swift

    @objc(registry:didRemoveCall:)
    func registry(_ registry: CallRegistry, didRemove call: Call)

    Parameters

    registry

    the registry object.

    call

    the call removed.