ConferenceDelegate

public protocol ConferenceDelegate : AnyObject

Undocumented

  • Callback used to notify a conference that a participant has been added.

    Default Implementation

    Declaration

    Swift

    func onParticipantAdded(conference: Conference, participant: Participant)

    Parameters

    conference

    LinphoneConference object

    participant

    LinphoneParticipant that has been added to the conference

  • Callback used to notify a conference that a participant has been removed.

    Default Implementation

    Declaration

    Swift

    func onParticipantRemoved(conference: Conference, participant: Participant)

    Parameters

    conference

    LinphoneConference object

    participant

    LinphoneParticipant that has been removed to the conference

  • Callback used to notify a conference that a participant has been added.

    Default Implementation

    Declaration

    Swift

    func onParticipantDeviceAdded(conference: Conference, participantDevice: ParticipantDevice)

    Parameters

    conference

    LinphoneConference object

    participantDevice

    LinphoneParticipantDevice that has been added to the conference

  • Callback used to notify a conference that a participant has been removed.

    Default Implementation

    Declaration

    Swift

    func onParticipantDeviceRemoved(conference: Conference, participantDevice: ParticipantDevice)

    Parameters

    conference

    LinphoneConference object

    participantDevice

    LinphoneParticipantDevice that has been removed to the conference

  • Callback used to notify a conference that the admin status of a participant has been changed.

    Default Implementation

    Declaration

    Swift

    func onParticipantAdminStatusChanged(conference: Conference, participant: Participant)

    Parameters

    conference

    LinphoneConference object

    participant

    LinphoneParticipant whose admin status has changed

  • Callback used to notify a conference that the media of a participant device has temporarely left.

    Default Implementation

    Declaration

    Swift

    func onParticipantDeviceLeft(conference: Conference, device: ParticipantDevice)

    Parameters

    conference

    LinphoneConference object

    device

    LinphoneParticipantDevice who temporarely left the conference

  • Callback used to notify a conference that the media of a participant device has rejoined.

    Default Implementation

    Declaration

    Swift

    func onParticipantDeviceJoined(conference: Conference, device: ParticipantDevice)

    Parameters

    conference

    LinphoneConference object

    device

    LinphoneParticipantDevice who rejoined the conference

  • Callback used to notify a conference that the media availability of a participant device has been changed.

    Default Implementation

    Declaration

    Swift

    func onParticipantDeviceMediaAvailabilityChanged(conference: Conference, device: ParticipantDevice)

    Parameters

    conference

    LinphoneConference object

    device

    LinphoneParticipantDevice whose media availability changed has changed

  • Callback used to notify a conference that the media capability of a participant device has been changed.

    Default Implementation

    Declaration

    Swift

    func onParticipantDeviceMediaCapabilityChanged(conference: Conference, device: ParticipantDevice)

    Parameters

    conference

    LinphoneConference object

    device

    LinphoneParticipantDevice whose media capability changed has changed

  • onStateChanged(conference:newState:) Default implementation

    Callback used to notify a conference state has changed.

    Default Implementation

    Declaration

    Swift

    func onStateChanged(conference: Conference, newState: Conference.State)

    Parameters

    conference

    LinphoneConference object

    newState

    The new state of the conference

  • onAvailableMediaChanged(conference:) Default implementation

    Callback used to notify that the available media of a conference has changed.

    Default Implementation

    Declaration

    Swift

    func onAvailableMediaChanged(conference: Conference)

    Parameters

    conference

    LinphoneConference object

  • onSubjectChanged(conference:subject:) Default implementation

    Callback used to notify that the subject of a conference has changed.

    Default Implementation

    Declaration

    Swift

    func onSubjectChanged(conference: Conference, subject: String)

    Parameters

    conference

    LinphoneConference object

    subject

    subject of the conference

  • Callback used to notify that a participant device is speaking or isn’t speaking anymore.

    Default Implementation

    Declaration

    Swift

    func onParticipantDeviceIsSpeakingChanged(conference: Conference, participantDevice: ParticipantDevice, isSpeaking: Bool)

    Parameters

    conference

    LinphoneConference object

    participantDevice

    the participant device

    isSpeaking

    true if is speaking, false otherwise

  • Callback used to notify that a participant device is muted or is no longer muted.

    Default Implementation

    Declaration

    Swift

    func onParticipantDeviceIsMuted(conference: Conference, participantDevice: ParticipantDevice, isMuted: Bool)

    Parameters

    conference

    LinphoneConference object

    participantDevice

    the participant device

    isMuted

    true if is muted, false otherwise

  • Callback used to notify that the audio device of a conference has changed.

    Default Implementation

    Declaration

    Swift

    func onAudioDeviceChanged(conference: Conference, audioDevice: AudioDevice)

    Parameters

    conference

    LinphoneConference object

    audioDevice

    audio device of the conference