|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CiscoMediaStreamEndedEv
Applications receive the CiscoMediaStreamEndedEv
event on the call observer of the call where
addMediaStream is invoked. This is typically the Agent Terminal/Address. This event is sent when the media
has finished playing on the call. It contains a field that it exposes if the media is played successfully, or
if the end event is the result of an error. This event is only delivered to the terminal that invokes the
original request, shared lines of the invoking terminal will not receive this event.
This is a TermConnEv
.
Field Summary | |
---|---|
static int |
ID
|
static int |
RESULT_FAILURE
This constant signifies that the CiscoMediaStreamEndedEv was caused by some failure, and the media did not play properly. |
static int |
RESULT_PRIMARY_CALL_DROPPED
This constant signifies that the CiscoMediaStreamEndedEv was delivered because the primary call that the media call was attached to was dropped. |
static int |
RESULT_SUCCESS
This constant signifies that the CiscoMediaStreamEndedEv was caused by a successful request, and the media finished playing successfully. |
Fields inherited from interface javax.telephony.events.Ev |
---|
CAUSE_CALL_CANCELLED, CAUSE_DEST_NOT_OBTAINABLE, CAUSE_INCOMPATIBLE_DESTINATION, CAUSE_LOCKOUT, CAUSE_NETWORK_CONGESTION, CAUSE_NETWORK_NOT_OBTAINABLE, CAUSE_NEW_CALL, CAUSE_NORMAL, CAUSE_RESOURCES_NOT_AVAILABLE, CAUSE_SNAPSHOT, CAUSE_UNKNOWN, META_CALL_ADDITIONAL_PARTY, META_CALL_ENDING, META_CALL_MERGING, META_CALL_PROGRESS, META_CALL_REMOVING_PARTY, META_CALL_STARTING, META_CALL_TRANSFERRING, META_SNAPSHOT, META_UNKNOWN |
Method Summary | |
---|---|
int |
getID()
|
int |
getResult()
Returns an integer representing if the media stream ended successfully, or if it was cut off because of some error. |
Methods inherited from interface javax.telephony.events.TermConnEv |
---|
getTerminalConnection |
Methods inherited from interface javax.telephony.events.CallEv |
---|
getCall |
Methods inherited from interface javax.telephony.events.Ev |
---|
getCause, getMetaCode, getObserved, isNewMetaEvent |
Field Detail |
---|
static final int RESULT_FAILURE
static final int RESULT_SUCCESS
static final int RESULT_PRIMARY_CALL_DROPPED
static final int ID
Method Detail |
---|
int getID()
getID
in interface javax.telephony.events.Ev
int getResult()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |