Helper method to initiate the call that speak method.
Namespace: Microsoft.Hawaii.Translator.ClientAssembly: Microsoft.Hawaii.Translator.Client (in Microsoft.Hawaii.Translator.Client.dll) Version: 2.1.0.0 (2.1.0.0)
Syntax
Parameters
- hawaiiAppId
- Type:
System String
Specifies the Hawaii Application Id.
- text
- Type:
System String
The text to be converted to speech.
- onComplete
- Type: Microsoft.Hawaii ServiceAgent T OnCompleteDelegate
Specifies an "on complete" delegate callback.
- stateObject
- Type:
System Object
Specifies a user-defined object.
- language (Optional)
- Type:
System String
The language of the speech.
- format (Optional)
- Type:
System String
The stream format of the content type. Currently "audio/wav" and "audio/mp3" are available. The default value is "audio/wav".
- options (Optional)
- Type:
System String
Specifies the quality of the audio signals. Currently "MaxQuality" and "MinSize" are available. The default value is "MinSize".
See Also