pub trait EventHandler: Sync {
// Required method
fn on_speech_finished(&self, id: u32);
}Expand description
The handler EventfulSynthesizer will call.
Required Methods§
Sourcefn on_speech_finished(&self, id: u32)
fn on_speech_finished(&self, id: u32)
Called when the synthesizer has finished rendering the speech with the given identifier.