public class OperationSetAutoAnswerJabberImpl extends AbstractOperationSetBasicAutoAnswer
answerUnconditional, answerWithVideo, protocolProvider
AUTO_ANSWER_UNCOND_PROP, AUTO_ANSWER_WITH_VIDEO_PROP
Constructor and Description |
---|
OperationSetAutoAnswerJabberImpl(ProtocolProviderServiceJabberImpl protocolProvider)
Creates this operation set, loads stored values, populating
local variable settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
autoAnswer(Call call,
java.util.Map<org.jitsi.service.neomedia.MediaType,org.jitsi.service.neomedia.MediaDirection> directions)
Auto-answers to a call with "audio only" or "audio/video" if the incoming
call is a video call.
|
protected boolean |
satisfyAutoAnswerConditions(Call call)
Checks if the call satisfy the auto answer conditions.
|
protected void |
save()
Saves values to account properties.
|
answerCall, autoAnswer, clear, clearLocal, isAutoAnswerUnconditionalSet, isAutoAnswerWithVideoSet, load, setAutoAnswerUnconditional, setAutoAnswerWithVideo
public OperationSetAutoAnswerJabberImpl(ProtocolProviderServiceJabberImpl protocolProvider)
protocolProvider
- the parent Protocol Provider.protected void save()
save
in class AbstractOperationSetBasicAutoAnswer
protected boolean satisfyAutoAnswerConditions(Call call)
satisfyAutoAnswerConditions
in class AbstractOperationSetBasicAutoAnswer
call
- The new incoming call to auto-answer if needed.public boolean autoAnswer(Call call, java.util.Map<org.jitsi.service.neomedia.MediaType,org.jitsi.service.neomedia.MediaDirection> directions)
call
- The new incoming call to auto-answer if needed.directions
- The media type (audio / video) stream directions.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.