public interface OutputDevice
| Modifier and Type | Method and Description |
|---|---|
void |
cancelOutput(org.jvoicexml.xml.vxml.BargeInType type)
Cancels the current output from the TTS engine and queued audio
for all entries in the queue that allow barge-in of the given type.
|
boolean |
isBusy()
Checks if this device is busy with output.
|
boolean |
supportsBargeIn()
Checks if this implementation platform supports barge-in.
|
boolean isBusy()
true if the device is busy.boolean supportsBargeIn()
true if barge-in is supported.void cancelOutput(org.jvoicexml.xml.vxml.BargeInType type)
throws NoresourceError
This method is only called if supportsBargeIn() returns
true.
The implementation has to maintain a list of cancelable outputs
depending on the barge-in flag of
Prompt.
type - the barge in type to cancelNoresourceError - The output resource is not available.