/mcpCiscoMediaStreamEndedEv Applications receive the event when they observe a device that is the target of a “addMediaStream()” invocation. This is the Agent device. 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 device that invokes the original request. Shared lines of the invoking device will not receive this event. Declaration public interface CiscoMediaStreamEndedEv extends CiscoCallEv Fields Table 108: Fields in CiscoMediaStreamEndedEv Description Field Interface This result code indicates that the CiscoMediaStreamEndedEv is received due to some failure with the request that caused it to end early. RESULT_FAILED static int This result code indicates that the CiscoMediaStreamEndedEv is received as a result of successful media streaming. RESULT_SUCCESS static int This result code indicates that the CiscoMediaStreamEndedEv is received due to the primary call. RESULT_PRIMARY_CALL_DROPPED static int Inherited Fields None Methods Table 109: Fields in CiscoMediaStreamEndedEv Description Method Interface Returns one of the above result codes, which allows the applications to figure out if the CiscoMediaStreamEndedEv is received due to an error, or upon a successful request. getResult() boloean Cisco Unified JTAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 432 Cisco Unified JTAPI Extensions CiscoMediaStreamEndedEv