Package | Description |
---|---|
com.avaya.collaboration.call.media |
Provides classes and interfaces for bringing media to call.
|
Modifier and Type | Method and Description |
---|---|
static PlayItem |
MediaFactory.createPlayItem()
Returns an instance of a PlayItem that is used to make a request to a
media server to play a file to a participant on a call.
|
PlayItem |
PlayItem.setDuration(int duration)
(Optional) - sets the duration of a play request in milliseconds.
|
PlayItem |
PlayItem.setInterruptible(boolean interruptible)
(Optional) - defines whether or not audio announcements may be
interrupted when a digit is detected.
|
PlayItem |
PlayItem.setIterateCount(int iterateCount)
(Optional) - sets the number of times to play this item.
|
PlayItem |
PlayItem.setSource(String[] source)
Sets the source that identifies the list of audio resources and
text-to-speech (TTS) strings to be played on the call.
|
Modifier and Type | Method and Description |
---|---|
UUID |
MediaService.play(Participant participant,
PlayItem playItem,
MediaListener mediaListener)
Plays a list of audio files to a participant on a call.
|
UUID |
MediaService.promptAndCollect(Participant participant,
PlayItem playItem,
DigitOptions digitOptions,
MediaListener mediaListener)
Plays a list of prompt resources to a participant on a call and then
collects digits from the same participant.
|
Copyright © 2014 Avaya. All Rights Reserved.