type property
EventType
get
type
The type can be start
as soon as speech has started, word
when a word
boundary is reached, sentence
when a sentence boundary is reached,
marker
when an SSML mark element is reached, end
when the end of the
utterance is reached, interrupted
when the utterance is stopped or
interrupted before reaching the end, cancelled
when it's removed from
the queue before ever being synthesized, or error
when any other error
occurs. When pausing speech, a pause
event is fired if a particular
utterance is paused in the middle, and resume
if an utterance resumes
speech. Note that pause and resume events may not fire if speech is paused
in-between utterances.
Implementation
EventType get type => EventType.fromJS(_wrapped.type);
set
type
(EventType v)
Implementation
set type(EventType v) {
_wrapped.type = v.toJS;
}