protected class SampleUnifiedSpeechCall.MyMediaListener extends MediaListenerAbstract implements VoiceXMLDialogListener
Constructor and Description |
---|
SampleUnifiedSpeechCall.MyMediaListener(Participant participant) |
Modifier and Type | Method and Description |
---|---|
void |
dialogEvent(UUID requestId,
Map names,
VoiceXMLDialogCause dialogEvent)
This is invoked when an event is generated by a VoiceXMLDialog request.
|
void |
playCompleted(UUID requestId,
PlayOperationCause cause)
This is invoked when a play request has completed.
|
digitsCollected
public SampleUnifiedSpeechCall.MyMediaListener(Participant participant)
public void playCompleted(UUID requestId, PlayOperationCause cause)
MediaListener
playCompleted
in interface MediaListener
playCompleted
in class MediaListenerAbstract
requestId
- identifies the play request that caused this call-back.cause
- the reason why the play operation completed.MediaListener.playCompleted(UUID
requestId, PlayOperationCause cause)
public void dialogEvent(UUID requestId, Map names, VoiceXMLDialogCause dialogEvent)
VoiceXMLDialogListener
dialogEvent
in interface VoiceXMLDialogListener
requestId
- identifies the dialog request that caused this call-backnames
- the name(s) returned by the VoiceXML interpreter for some of
the events. For example EXITED and MIDCALL_EVENT_RECEIVEDdialogEvent
- the event received after sending a VoiceXMLDialog requestCopyright © 2014 Avaya. All Rights Reserved.