|
FoxitPDFSDKforWeb v11.0.4
Foxit PDF SDK for Web
|
Template methods to simplify the implementation of custom speech synthesizers. More...
Protected Member Functions | |
| abstract void | doPause () |
| This method is used to implement the actions that should be handled after the state is switched to paused. | |
| abstract void | doResume () |
| This method is used to implement the actions that should be handled after resume the speech synthesis. | |
| abstract void | doStop () |
| This method is used to implement the actions that should be handled after the state is switched to stop. | |
| void | init () |
| Method used to initialization. | |
| abstract void | onCurrentPlayingOptionsUpdated () |
| This method is used to implement options updates. | |
| abstract Promise< void > | speakText (text:string, options?:ReadAloudOptions) |
| This method is used to synthesize a speech based on the received parameters and play it back. More... | |
Template methods to simplify the implementation of custom speech synthesizers.
|
protectedpure virtual |
This method is used to synthesize a speech based on the received parameters and play it back.
| text | string - The text content to be read. |
| options | ReadAloudOptions | undefined - Options of the speech synthesizer. |