ConferenceDelegate
public protocol ConferenceDelegate : AnyObject
-
onParticipantAdded(conference:Default implementationparticipant: ) Callback used to notify a conference that a participant has been added.
Default Implementation
Declaration
Swift
func onParticipantAdded(conference: Conference, participant: Participant)Parameters
conferenceLinphoneConference object
participantLinphoneParticipant that has been added to the conference
-
onParticipantRemoved(conference:Default implementationparticipant: ) Callback used to notify a conference that a participant has been removed.
Default Implementation
Declaration
Swift
func onParticipantRemoved(conference: Conference, participant: Participant)Parameters
conferenceLinphoneConference object
participantLinphoneParticipant that has been removed to the conference
-
onParticipantDeviceAdded(conference:Default implementationparticipantDevice: ) Callback used to notify a conference that a participant has been added.
Default Implementation
Declaration
Swift
func onParticipantDeviceAdded(conference: Conference, participantDevice: ParticipantDevice)Parameters
conferenceLinphoneConference object
participantDeviceLinphoneParticipantDevice that has been added to the conference
-
onParticipantDeviceRemoved(conference:Default implementationparticipantDevice: ) Callback used to notify a conference that a participant has been removed.
Default Implementation
Declaration
Swift
func onParticipantDeviceRemoved(conference: Conference, participantDevice: ParticipantDevice)Parameters
conferenceLinphoneConference object
participantDeviceLinphoneParticipantDevice that has been removed to the conference
-
onParticipantAdminStatusChanged(conference:Default implementationparticipant: ) 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
conferenceLinphoneConference object
participantLinphoneParticipant whose admin status has changed
-
onParticipantDeviceStateChanged(conference:Default implementationdevice: state: ) Callback used to notify a conference that a participant device has changed state.
Default Implementation
Declaration
Swift
func onParticipantDeviceStateChanged(conference: Conference, device: ParticipantDevice, state: ParticipantDeviceState)Parameters
conferenceLinphoneConference object
deviceLinphoneParticipantDevice who change state
statenew participant device state
-
onParticipantDeviceMediaAvailabilityChanged(conference:Default implementationdevice: ) 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
conferenceLinphoneConference object
deviceLinphoneParticipantDevice whose media availability changed has changed
-
onParticipantDeviceMediaCapabilityChanged(conference:Default implementationdevice: ) 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
conferenceLinphoneConference object
deviceLinphoneParticipantDevice whose media capability changed has changed
-
onStateChanged(conference:Default implementationnewState: ) Callback used to notify a conference state has changed.
Default Implementation
Declaration
Swift
func onStateChanged(conference: Conference, newState: Conference.State)Parameters
conferenceLinphoneConference object
newStateThe 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
conferenceLinphoneConference object
-
onSubjectChanged(conference:Default implementationsubject: ) Callback used to notify that the subject of a conference has changed.
Default Implementation
Declaration
Swift
func onSubjectChanged(conference: Conference, subject: String)Parameters
conferenceLinphoneConference object
subjectsubject of the conference
-
onParticipantDeviceIsSpeakingChanged(conference:Default implementationparticipantDevice: isSpeaking: ) 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
conferenceLinphoneConference object
participantDevicethe participant device
isSpeakingtrue if is speaking, false otherwise
-
onParticipantDeviceIsMuted(conference:Default implementationparticipantDevice: isMuted: ) 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
conferenceLinphoneConference object
participantDevicethe participant device
isMutedtrue if is muted, false otherwise
-
onAudioDeviceChanged(conference:Default implementationaudioDevice: ) Callback used to notify that the audio device of a conference has changed.
Default Implementation
Declaration
Swift
func onAudioDeviceChanged(conference: Conference, audioDevice: AudioDevice)Parameters
conferenceLinphoneConference object
audioDeviceaudio device of the conference
-
onActiveSpeakerParticipantDevice(conference:Default implementationparticipantDevice: ) Callback used to notify which participant device video is being displayed as “actively speaking”.
Default Implementation
Declaration
Swift
func onActiveSpeakerParticipantDevice(conference: Conference, participantDevice: ParticipantDevice)Parameters
conferenceLinphoneConference object
participantDevicethe participant device currently displayed as active speaker
ConferenceDelegate Protocol Reference