Package com.vivoka.vsdk.tts
Enum Class Channel.EventCode
- All Implemented Interfaces:
Serializable,Comparable<Channel.EventCode>,Constable
- Enclosing class:
Channel
Enumeration of event codes for channel events.
The events occur in the following order:
The events occur in the following order:
TEXT_REWRITTEN– emitted when the text is rewrittenGENERATION_STARTED– emitted when generation starts- Zero or more regular events:
MARKER– emitted when a marker tag is reachedWORD_MARKER_START– emitted when a word marker start is reachedWORD_MARKER_END– emitted when a word marker end is reached
GENERATION_ENDED– emitted when generation endsPROCESS_FINISHED– emitted when processing has finished
NATIVE_EVENT may occur at any time during execution
if native events are enabled.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe generation has ended.The generation has started.A marker tag has been reached (Deprecated).A native eventThe process has finishedThe text has been rewritten and ready to start generation.A word marker end has been reached.A word marker start has been reached. -
Method Summary
Modifier and TypeMethodDescriptionstatic Channel.EventCodeReturns the enum constant of this class with the specified name.static Channel.EventCode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TEXT_REWRITTEN
The text has been rewritten and ready to start generation. -
GENERATION_STARTED
The generation has started. -
MARKER
A marker tag has been reached (Deprecated). -
WORD_MARKER_START
A word marker start has been reached. The end position and time are not available. -
WORD_MARKER_END
A word marker end has been reached. The end position and time are available. -
GENERATION_ENDED
The generation has ended. -
PROCESS_FINISHED
The process has finished -
NATIVE_EVENT
A native event
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-