public abstract class CallListenerAbstract extends Object implements CallListener
TheCallListener
CallListener
,
Call
,
TheCallListener
Modifier | Constructor and Description |
---|---|
protected |
CallListenerAbstract() |
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 call has terminated.
|
void |
callTerminated(Call call,
CallTerminationCause cause)
Indicates that the call has terminated.
|
void |
mediaDetected(Participant partySendingMedia,
MediaType mediaTypeDetected)
Indicates that media has been detected from an alerting party or
the answering party.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
callIntercepted
public void callOriginated(Call call)
callOriginated
in interface CallListener
call
- instance of Callcause
- Call termination enumpublic 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 CallListener
alertingParty
- 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 CallListener
call
- instance of allpublic void callTerminated(Call call, CallTerminationCause cause)
callTerminated
in interface CallListener
call
- instance of Callcause
- Call termination enumpublic void addParticipantFailed(Call call, Participant failedParticipant, CallTerminationCause cause)
addParticipantFailed
in interface CallListener
call
- instance of callfailedParticipant
- instance of participant, which failed to be addedcause
- Call termination enumpublic void mediaDetected(Participant partySendingMedia, MediaType mediaTypeDetected)
Call.enableMediaBeforeAnswer()
was invoked in the callIntercepted callback.mediaDetected
in interface CallListener
partySendingMedia
- the party from which media was detectedmediaTypeDetected
- the type of media detectedCopyright © 2014 Avaya. All Rights Reserved.