public final class OutputStartedEvent extends SynthesizedOutputEvent
SpeakableText has started.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DETAIL
The unsupported element.
|
static java.lang.String |
EVENT_TYPE
The detail message.
|
| Constructor and Description |
|---|
OutputStartedEvent(SynthesizedOutput output,
java.lang.String sessionId,
SpeakableText speakableText)
Constructs a new event with the event type as its detail message.
|
| Modifier and Type | Method and Description |
|---|---|
SpeakableText |
getSpeakable()
Retrieves the speakable.
|
getEventType, getSessionId, getSourcegetMessage, isTypepublic static final java.lang.String DETAIL
public static final java.lang.String EVENT_TYPE
public OutputStartedEvent(SynthesizedOutput output, java.lang.String sessionId, SpeakableText speakableText)
The DETAIL is used to construct the event type.
output - object that caused the event.sessionId - the session idspeakableText - the speakable that has endedSynthesizedOutputEvent.getEventType()public SpeakableText getSpeakable()