-
public final class CallerStateRepresents participant's media status
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumCallerState.SourceType
-
Field Summary
Fields Modifier and Type Field Description private Booleantalkingprivate BooleanvideoEnabledprivate BooleanaudioEnabledprivate BooleanoutputEnabledprivate BooleanscreenAnnotationEnabledprivate CallerState.SourceTypesourceTypeprivate BooleanscreenEnabled
-
Constructor Summary
Constructors Constructor Description CallerState(Boolean talking, Boolean videoEnabled, Boolean audioEnabled, Boolean outputEnabled, Boolean screenAnnotationEnabled, CallerState.SourceType sourceType, Boolean screenEnabled)
-
Method Summary
-
-
Constructor Detail
-
CallerState
CallerState(Boolean talking, Boolean videoEnabled, Boolean audioEnabled, Boolean outputEnabled, Boolean screenAnnotationEnabled, CallerState.SourceType sourceType, Boolean screenEnabled)
- Parameters:
talking-true if participant talking at this moment. Used for ActiveSpeaker feature
videoEnabled-true if participant does video streaming
audioEnabled-true if participant does audio streaming
outputEnabled-true if participant audio output enabled
sourceType-currently active video streaming source ("screen"/"cam")
screenEnabled-true if participant does screenshare
-
-
Method Detail
-
component1
final Boolean component1()
-
component2
final Boolean component2()
-
component3
final Boolean component3()
-
component4
final Boolean component4()
-
component5
final Boolean component5()
-
component6
final CallerState.SourceType component6()
-
component7
final Boolean component7()
-
copy
final CallerState copy(Boolean talking, Boolean videoEnabled, Boolean audioEnabled, Boolean outputEnabled, Boolean screenAnnotationEnabled, CallerState.SourceType sourceType, Boolean screenEnabled)
- Parameters:
talking-true if participant talking at this moment. Used for ActiveSpeaker feature
videoEnabled-true if participant does video streaming
audioEnabled-true if participant does audio streaming
outputEnabled-true if participant audio output enabled
sourceType-currently active video streaming source ("screen"/"cam")
screenEnabled-true if participant does screenshare
-
getTalking
final Boolean getTalking()
-
getVideoEnabled
final Boolean getVideoEnabled()
-
getAudioEnabled
final Boolean getAudioEnabled()
-
getOutputEnabled
final Boolean getOutputEnabled()
-
getScreenAnnotationEnabled
final Boolean getScreenAnnotationEnabled()
-
getSourceType
final CallerState.SourceType getSourceType()
-
getScreenEnabled
final Boolean getScreenEnabled()
-
setTalking
final Unit setTalking(Boolean talking)
- Parameters:
talking-true if participant talking at this moment. Used for ActiveSpeaker feature
-
setVideoEnabled
final Unit setVideoEnabled(Boolean videoEnabled)
- Parameters:
videoEnabled-true if participant does video streaming
-
setAudioEnabled
final Unit setAudioEnabled(Boolean audioEnabled)
- Parameters:
audioEnabled-true if participant does audio streaming
-
setOutputEnabled
final Unit setOutputEnabled(Boolean outputEnabled)
- Parameters:
outputEnabled-true if participant audio output enabled
-
setScreenAnnotationEnabled
final Unit setScreenAnnotationEnabled(Boolean screenAnnotationEnabled)
-
setSourceType
final Unit setSourceType(CallerState.SourceType sourceType)
- Parameters:
sourceType-currently active video streaming source ("screen"/"cam")
-
setScreenEnabled
final Unit setScreenEnabled(Boolean screenEnabled)
- Parameters:
screenEnabled-true if participant does screenshare
-
-
-
-