CallParticipantsObserver

@available(iOS 12.0, *)
@objc(BDKCallParticipantsObserver)
public protocol CallParticipantsObserver : NSObjectProtocol

An observer of call participants object, informed about participant state changes.

You subscribe to participant state changes by adding an observer, a component conforming to this protocol, to the Call.participants property

  • Invoked when a call participant change its state.

    Declaration

    Swift

    @objc(callParticipantStateChanged:)
    optional func callParticipantStateChanged(_ participant: CallParticipant)

    Parameters

    participant

    The participant that changed its state.

  • Invoked when a call participant upgrades to a video call.

    Declaration

    Swift

    @objc(callParticipantUpgradedToVideo:)
    optional func callParticipantUpgradedToVideo(_ participant: CallParticipant)

    Parameters

    participant

    The participant that has upgraded to a video call.