TranslatorService SpeakAsync Method (String, String, String, ServiceAgent SpeakResult  OnCompleteDelegate, Object, String, String, String)Microsoft Research Project Hawaii SDK 2.1
Helper method to initiate the call that speak method.

Namespace: Microsoft.Hawaii.Translator.Client
Assembly: Microsoft.Hawaii.Translator.Client (in Microsoft.Hawaii.Translator.Client.dll) Version: 2.1.0.0 (2.1.0.0)
Syntax

Parameters

clientId
Type: OnlineSystem String
The adm client Id.
clientSecret
Type: OnlineSystem String
The adm client secret.
text
Type: OnlineSystem String
The text to be converted to speech.
onComplete
Type: Microsoft.Hawaii ServiceAgent T  OnCompleteDelegate
Specifies an "on complete" delegate callback.
stateObject
Type: OnlineSystem Object
Specifies a user-defined object.
language (Optional)
Type: OnlineSystem String
The language of the speech.
format (Optional)
Type: OnlineSystem 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: OnlineSystem String
Specifies the quality of the audio signals. Currently "MaxQuality" and "MinSize" are available. The default value is "MinSize".
See Also