javax.telephony.media.async
Interface Async.ResourceEvent
- All Superinterfaces:
- Async.Event, Async.MediaServiceEvent, MediaConstants, MediaEvent, MediaServiceConstants, MediaServiceEvent, ResourceConstants, ResourceEvent
- All Known Subinterfaces:
- Async_ASREvent, Async_PlayerEvent, Async_RecorderEvent, Async_SignalDetectorEvent, Async_SignalGeneratorEvent
- All Known Implementing Classes:
- Base.ResourceEvent
- Enclosing class:
- Async
- public static interface Async.ResourceEvent
- extends Async.MediaServiceEvent, ResourceEvent
Extends ResourceEvent to include asynchronous event methods.
The MediaEvent methods
(getEventID(), getMediaService())
immediately return the requested values.
The implementation of the other Resource.Event accessors
(getQualifier(), getRTCTrigger(), and getError())
wait for the event to complete, then return the requested value.
If you do not want to wait, then test first using isDone()
to see if the event is complete.
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 |
throwIfMediaResourceException
public void throwIfMediaResourceException()
throws MediaResourceException
- Detect and throw MediaResourceExceptions
and RuntimeExceptions contained in the Event.
Calls throwIfRuntimeException internally.
- Throws:
MediaResourceException
- if contained in this event
Send comments to: JSR-43@ectf.org