public abstract class CallListenerAbstract extends Object implements CallListener
TheCallListenerCallListener,
Call,
TheCallListener| Modifier and Type | Method and Description |
|---|---|
void |
addParticipantFailed(Call call,
Participant failedParticipant,
CallTerminationCause cause)
Indicates that the addParticipant call failed
|
void |
callAlerting(Participant alertingParty)
Indicates that a party in
Call has started alerting (i.e., the
called party's device has notified its user of an incoming call). |
void |
callAnswered(Call call)
Indicates that a party in
Call answered the call. |
void |
callOriginated(Call call)
Indicates that the first party in a 2-party make-call has answered.
|
void |
callTerminated(Call call,
CallTerminationCause cause)
Indicates that the call has terminated (ended).
|
void |
mediaDetected(Participant partySendingMedia,
MediaType mediaTypeDetected)
Indicates that media has been detected from an alerting party or
the answering party.
|
void |
participantDropped(Call call,
Participant droppedParticipant,
CallTerminationCause cause)
Indicates that a participant in
Call dropped out of the call or was dropped
from the call. |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcallInterceptedpublic void callOriginated(Call call)
CallFactory.create(String, String, Identity)
for more detail regarding a 2-party make-call.callOriginated in interface CallListenercall - instance of the callpublic void callAlerting(Participant alertingParty)
Call has started alerting (i.e., the
called party's device has notified its user of an incoming call). This
method could be invoked multiple times during a call, in the event that
some downstream element presents the call to multiple parties. While the
alertingParty parameter indicates only the most recent party that has
started alerting, the full list of alerting parties is available in
Call.getAlertingParties().callAlerting in interface CallListeneralertingParty - details about the alerting party, i.e. the person whose phone
is ringingpublic void callAnswered(Call call)
Call answered the call. Details on the
answering party can be obtained using
Call.getAnsweringParty().callAnswered in interface CallListenercall - instance of the callpublic void callTerminated(Call call, CallTerminationCause cause)
callTerminated in interface CallListenercall - instance of the callcause - reason the call endedpublic void addParticipantFailed(Call call, Participant failedParticipant, CallTerminationCause cause)
addParticipantFailed in interface CallListenercall - instance of the callfailedParticipant - instance of the participant which failed to be addedcause - reason the participant failed to be addedpublic void mediaDetected(Participant partySendingMedia, MediaType mediaTypeDetected)
Call.enableMediaBeforeAnswer()
was invoked in the callIntercepted callback.mediaDetected in interface CallListenerpartySendingMedia - the party from which media was detectedmediaTypeDetected - the type of media detectedpublic void participantDropped(Call call, Participant droppedParticipant, CallTerminationCause cause)
Call dropped out of the call or was dropped
from the call.participantDropped in interface CallListenercall - The call from which the participant droppeddroppedParticipant - The participant dropped from the call.cause - reason the participant dropped from the callCopyright © 2021 Avaya. All rights reserved.