Class SpeechDispatcherBackend
Implementation of ISpeechHandler that uses the Speech Dispatcher daemon (speechd).
Implements
Inherited Members
Namespace: Ritchie.Toolbox.Accessibility
Assembly: Ritchie.Toolbox.dll
Syntax
public sealed class SpeechDispatcherBackend : ISpeechHandler
Methods
SpeakAsync(string, CancellationToken)
Speak the specified text aloud.
Declaration
public Task SpeakAsync(string textToSpeak, CancellationToken interruptToken)
Parameters
Type | Name | Description |
---|---|---|
string | textToSpeak | The text to speak. |
CancellationToken | interruptToken | A CancellationToken that will be cancelled if speech is interrupted. |
Returns
Type | Description |
---|---|
Task |