Package org.linphone.core
Class ParticipantDeviceListenerStub
java.lang.Object
org.linphone.core.ParticipantDeviceListenerStub
- All Implemented Interfaces:
ParticipantDeviceListener
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onIsMuted
(ParticipantDevice participantDevice, boolean isMuted) Callback used to notify that this participant device is muted or is no longer
muted.void
onIsSpeakingChanged
(ParticipantDevice participantDevice, boolean isSpeaking) Callback used to notify that is this participant device speaking has changed.void
onStateChanged
(ParticipantDevice participantDevice, ParticipantDevice.State state) Callback used to notify that participant device changed state.void
onStreamAvailabilityChanged
(ParticipantDevice participantDevice, boolean available, StreamType streamType) Callback used to notify that participant device stream availability has
changed.void
onStreamCapabilityChanged
(ParticipantDevice participantDevice, MediaDirection direction, StreamType streamType) Callback used to notify that participant device stream capability has changed.void
onVideoDisplayErrorOccurred
(ParticipantDevice participantDevice, int errorCode) Callback to notify that there are errors from the video rendering of the
participant device.
-
Constructor Details
-
ParticipantDeviceListenerStub
public ParticipantDeviceListenerStub()
-
-
Method Details
-
onIsSpeakingChanged
Description copied from interface:ParticipantDeviceListener
Callback used to notify that is this participant device speaking has changed.
- Specified by:
onIsSpeakingChanged
in interfaceParticipantDeviceListener
- Parameters:
participantDevice
-ParticipantDevice
objectisSpeaking
- is this participant device speaking
-
onIsMuted
Description copied from interface:ParticipantDeviceListener
Callback used to notify that this participant device is muted or is no longer
muted.
- Specified by:
onIsMuted
in interfaceParticipantDeviceListener
- Parameters:
participantDevice
-ParticipantDevice
objectisMuted
- is this participant device muted
-
onStateChanged
public void onStateChanged(@NonNull ParticipantDevice participantDevice, ParticipantDevice.State state) Description copied from interface:ParticipantDeviceListener
Callback used to notify that participant device changed state.
- Specified by:
onStateChanged
in interfaceParticipantDeviceListener
- Parameters:
participantDevice
- LinphoneParticipantDevice object
-
onStreamCapabilityChanged
public void onStreamCapabilityChanged(@NonNull ParticipantDevice participantDevice, MediaDirection direction, StreamType streamType) Description copied from interface:ParticipantDeviceListener
Callback used to notify that participant device stream capability has changed.
- Specified by:
onStreamCapabilityChanged
in interfaceParticipantDeviceListener
- Parameters:
participantDevice
-ParticipantDevice
objectdirection
- participant device's audio direction
-
onStreamAvailabilityChanged
public void onStreamAvailabilityChanged(@NonNull ParticipantDevice participantDevice, boolean available, StreamType streamType) Description copied from interface:ParticipantDeviceListener
Callback used to notify that participant device stream availability has
changed.
- Specified by:
onStreamAvailabilityChanged
in interfaceParticipantDeviceListener
- Parameters:
participantDevice
-ParticipantDevice
object
-
onVideoDisplayErrorOccurred
public void onVideoDisplayErrorOccurred(@NonNull ParticipantDevice participantDevice, int errorCode) Description copied from interface:ParticipantDeviceListener
Callback to notify that there are errors from the video rendering of the
participant device.
Check LinphoneCallCbsVideoDisplayErrorOccurredCb for more details.- Specified by:
onVideoDisplayErrorOccurred
in interfaceParticipantDeviceListener
- Parameters:
participantDevice
- LinphoneParticipantDevice objecterrorCode
- the error code coming from the display render.
-