Synthesizer class
Properties
authorization |
Gets the authorization token used to communicate with the service. |
auto |
Indicates if auto detect source language is enabled |
properties | The collection of properties and their values defined for this Synthesizer. |
Methods
build |
|
dispose(boolean) | This method performs cleanup of resources. The Boolean parameter disposing indicates whether the method is called from Dispose (if disposing is true) or from the finalizer (if disposing is false). Derived classes should override this method to dispose resource if needed. |
Property Details
authorizationToken
Gets the authorization token used to communicate with the service.
string authorizationToken
Property Value
string
Authorization token.
autoDetectSourceLanguage
Indicates if auto detect source language is enabled
boolean autoDetectSourceLanguage
Property Value
boolean
if auto detect source language is enabled
properties
The collection of properties and their values defined for this Synthesizer.
PropertyCollection properties
Property Value
The collection of properties and their values defined for this SpeechSynthesizer.
Method Details
buildSsml(string)
function buildSsml(text: string): string
Parameters
- text
-
string
Returns
string
dispose(boolean)
This method performs cleanup of resources. The Boolean parameter disposing indicates whether the method is called from Dispose (if disposing is true) or from the finalizer (if disposing is false). Derived classes should override this method to dispose resource if needed.
function dispose(disposing: boolean): Promise<void>
Parameters
- disposing
-
boolean
Flag to request disposal.
Returns
Promise<void>