Package org.linphone.core
Interface ConferenceListener
- All Known Implementing Classes:
ConferenceListenerStub
public interface ConferenceListener
An object to handle the callbacks for the handling a
objects.
Use
object to a
Conference
objects.
Use
Factory#createConferenceCbs
to create an instance. Then pass theobject to a
Conference
instance through Conference.addListener(org.linphone.core.ConferenceListener)
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
onActiveSpeakerParticipantDevice
(Conference conference, ParticipantDevice participantDevice) Callback used to notify which participant device video is being displayed as
"actively speaking".void
onAudioDeviceChanged
(Conference conference, AudioDevice audioDevice) Callback used to notify that the audio device of a conference has changed.void
onAvailableMediaChanged
(Conference conference) Callback used to notify that the available media of a conference has changed.void
onParticipantAdded
(Conference conference, Participant participant) Callback used to notify a conference that a participant has been added.void
onParticipantAdminStatusChanged
(Conference conference, Participant participant) Callback used to notify a conference that the admin status of a participant has
been changed.void
onParticipantDeviceAdded
(Conference conference, ParticipantDevice participantDevice) Callback used to notify a conference that a participant has been added.void
onParticipantDeviceIsMuted
(Conference conference, ParticipantDevice participantDevice, boolean isMuted) Callback used to notify that a participant device is muted or is no longer
muted.void
onParticipantDeviceIsSpeakingChanged
(Conference conference, ParticipantDevice participantDevice, boolean isSpeaking) Callback used to notify that a participant device is speaking or isn't speaking
anymore.void
onParticipantDeviceMediaAvailabilityChanged
(Conference conference, ParticipantDevice device) Callback used to notify a conference that the media availability of a
participant device has been changed.void
onParticipantDeviceMediaCapabilityChanged
(Conference conference, ParticipantDevice device) Callback used to notify a conference that the media capability of a participant
device has been changed.void
onParticipantDeviceRemoved
(Conference conference, ParticipantDevice participantDevice) Callback used to notify a conference that a participant has been removed.void
onParticipantDeviceStateChanged
(Conference conference, ParticipantDevice device, ParticipantDevice.State state) Callback used to notify a conference that a participant device has changed
state.void
onParticipantRemoved
(Conference conference, Participant participant) Callback used to notify a conference that a participant has been removed.void
onParticipantRoleChanged
(Conference conference, Participant participant) Callback used to notify a conference that the role of a participant has been
changed.void
onStateChanged
(Conference conference, Conference.State newState) Callback used to notify a conference state has changed.void
onSubjectChanged
(Conference conference, String subject) Callback used to notify that the subject of a conference has changed.
-
Method Details
-
onParticipantAdded
Callback used to notify a conference that a participant has been added.
- Parameters:
conference
- LinphoneConference objectparticipant
- LinphoneParticipant that has been added to the conference
-
onParticipantRemoved
Callback used to notify a conference that a participant has been removed.
- Parameters:
conference
- LinphoneConference objectparticipant
- LinphoneParticipant that has been removed to the conference
-
onParticipantDeviceAdded
void onParticipantDeviceAdded(@NonNull Conference conference, @NonNull ParticipantDevice participantDevice) Callback used to notify a conference that a participant has been added.
- Parameters:
conference
- LinphoneConference objectparticipantDevice
- LinphoneParticipantDevice that has been added to the
conference
-
onParticipantDeviceRemoved
void onParticipantDeviceRemoved(@NonNull Conference conference, @NonNull ParticipantDevice participantDevice) Callback used to notify a conference that a participant has been removed.
- Parameters:
conference
- LinphoneConference objectparticipantDevice
- LinphoneParticipantDevice that has been removed to the
conference
-
onParticipantRoleChanged
Callback used to notify a conference that the role of a participant has been
changed.
- Parameters:
conference
-Conference
objectparticipant
-Participant
whose role has changed
-
onParticipantAdminStatusChanged
void onParticipantAdminStatusChanged(@NonNull Conference conference, @NonNull Participant participant) Callback used to notify a conference that the admin status of a participant has
been changed.
- Parameters:
conference
- LinphoneConference objectparticipant
- LinphoneParticipant whose admin status has changed
-
onParticipantDeviceStateChanged
void onParticipantDeviceStateChanged(@NonNull Conference conference, @NonNull ParticipantDevice device, ParticipantDevice.State state) Callback used to notify a conference that a participant device has changed
state.
- Parameters:
conference
- LinphoneConference objectdevice
- LinphoneParticipantDevice who change statestate
- new participant device state
-
onParticipantDeviceMediaAvailabilityChanged
void onParticipantDeviceMediaAvailabilityChanged(@NonNull Conference conference, @NonNull ParticipantDevice device) Callback used to notify a conference that the media availability of a
participant device has been changed.
- Parameters:
conference
- LinphoneConference objectdevice
- LinphoneParticipantDevice whose media availability changed has
changed
-
onParticipantDeviceMediaCapabilityChanged
void onParticipantDeviceMediaCapabilityChanged(@NonNull Conference conference, @NonNull ParticipantDevice device) Callback used to notify a conference that the media capability of a participant
device has been changed.
- Parameters:
conference
-Conference
objectdevice
-ParticipantDevice
whose media capability changed has
changed
-
onStateChanged
Callback used to notify a conference state has changed.
- Parameters:
conference
- LinphoneConference objectnewState
- The new state of the conference
-
onAvailableMediaChanged
Callback used to notify that the available media of a conference has changed.
- Parameters:
conference
-Conference
object
-
onSubjectChanged
Callback used to notify that the subject of a conference has changed.
- Parameters:
conference
- LinphoneConference objectsubject
- subject of the conference
-
onParticipantDeviceIsSpeakingChanged
void onParticipantDeviceIsSpeakingChanged(@NonNull Conference conference, @NonNull ParticipantDevice participantDevice, boolean isSpeaking) Callback used to notify that a participant device is speaking or isn't speaking
anymore.
- Parameters:
conference
-Conference
objectparticipantDevice
- the participant deviceisSpeaking
- true if is speaking, false otherwise
-
onParticipantDeviceIsMuted
void onParticipantDeviceIsMuted(@NonNull Conference conference, @NonNull ParticipantDevice participantDevice, boolean isMuted) Callback used to notify that a participant device is muted or is no longer
muted.
- Parameters:
conference
-Conference
objectparticipantDevice
- the participant deviceisMuted
- true if is muted, false otherwise
-
onAudioDeviceChanged
Callback used to notify that the audio device of a conference has changed.
- Parameters:
conference
- LinphoneConference objectaudioDevice
- audio device of the conference
-
onActiveSpeakerParticipantDevice
void onActiveSpeakerParticipantDevice(@NonNull Conference conference, @NonNull ParticipantDevice participantDevice) Callback used to notify which participant device video is being displayed as
"actively speaking".
- Parameters:
conference
-Conference
objectparticipantDevice
- the participant device currently displayed as active
speaker
-