ConferenceDelegate
public protocol ConferenceDelegate : AnyObject
Undocumented
-
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
conference
LinphoneConference object
participant
LinphoneParticipant 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
conference
LinphoneConference object
participant
LinphoneParticipant 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
conference
LinphoneConference object
participantDevice
LinphoneParticipantDevice 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
conference
LinphoneConference object
participantDevice
LinphoneParticipantDevice 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
conference
LinphoneConference object
participant
LinphoneParticipant whose admin status has changed
-
onParticipantDeviceLeft(conference:
Default implementationdevice: ) 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
-
onParticipantDeviceJoined(conference:
Default implementationdevice: ) 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
-
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
conference
LinphoneConference object
device
LinphoneParticipantDevice 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
conference
LinphoneConference object
device
LinphoneParticipantDevice 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
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:
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
conference
LinphoneConference object
subject
subject 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
conference
LinphoneConference object
participantDevice
the participant device
isSpeaking
true 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
conference
LinphoneConference object
participantDevice
the participant device
isMuted
true 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
conference
LinphoneConference object
audioDevice
audio device of the conference