JSR-043: JTAPI-1.4

javax.telephony.media
Interface MediaGroupEvent

All Superinterfaces:
MediaConstants, MediaEvent, MediaServiceConstants, MediaServiceEvent
All Known Subinterfaces:
Async.MediaGroupEvent

public interface MediaGroupEvent
extends MediaServiceEvent

A MediaEvent from the MediaGroup.

These are not visible in the synchronous API, but are delivered to an Async.MediaGroupListener.

Note: if a field accessor is called on an Event of the wrong type (that is, with the wrong EventID) the accessor returns null.

Since:
JTAPI-1.3
See Also:
Async.MediaGroupListener

Fields inherited from interface javax.telephony.media.MediaServiceConstants
ev_BindAndConnect, ev_BindToCall, ev_BindToServiceName, ev_BindToTerminal, ev_BindToTerminalName, ev_Configure, ev_Connected, ev_DelegateToService, ev_Disconnected, ev_GetConfigSpec, ev_GetConfiguration, ev_GetParameters, ev_GetTerminal, ev_GetTerminalName, ev_GetUserValues, ev_GroupStop, ev_Release, ev_ReleaseDelegated, ev_ReleaseToDestroy, ev_ReleaseToService, ev_ReleaseToTag, ev_Retrieve, ev_Retrieved, ev_SetParameters, ev_SetUserDictionary, ev_SetUserValues, ev_TerminalIdle, ev_TriggerRTC
 
Fields inherited from interface javax.telephony.media.MediaConstants
e_OK, q_Duration, q_Standard, q_Stop
 
Method Summary
 ConfigSpec getConfigSpec()
          Return a ConfigSpec from getConfigSpec().
 java.util.Dictionary getDictionary()
          Return a Dictionary from a MediaGroupEvent.
 Terminal getTerminal()
          Return a Terminal from getTerminal().
 java.lang.String getTerminalName()
          Return a terminal name String from getTerminalName().
 
Methods inherited from interface javax.telephony.media.MediaServiceEvent
getMediaService
 
Methods inherited from interface javax.telephony.media.MediaEvent
getError, getEventID, getException, getPayload, getQualifier, getSubError, getWarning
 

Method Detail

getTerminal

public Terminal getTerminal()
Return a Terminal from getTerminal(). Valid when (getEventID.equals(ev_GetTerminal)).
Returns:
a Terminal from getTerminal()

getTerminalName

public java.lang.String getTerminalName()
Return a terminal name String from getTerminalName(). Valid when (getEventID.equals(ev_GetTerminalName)).
Returns:
a terminal name String from getTerminalName()

getConfigSpec

public ConfigSpec getConfigSpec()
Return a ConfigSpec from getConfigSpec(). Valid when (getEventID().equals(ev_GetConfigSpec)).
Returns:
a ConfigSpec from getConfigSpec()

getDictionary

public java.util.Dictionary getDictionary()
Return a Dictionary from a MediaGroupEvent. Valid when:
Method called: getEventID() equals:
getUserValues() ev_GetUserValues
getParameters() ev_GetParameters
getAttributes() ev_GetAttributes
Returns:
a Dictionary from a MediaGroupEvent.

JSR-043: JTAPI-1.4

Send comments to: JSR-43@ectf.org