SpeechSynthesizer.SpeakSsmlAsync methods

Applies to Windows Phone only

Asynchronously speaks a string of text with Speech Synthesis Markup Language (SSML) markup with a text-to-speech voice.

Overload list

MethodDescription
SpeakSsmlAsync(String) Asynchronously speaks a string of text with Speech Synthesis Markup Language (SSML) markup with a text-to-speech voice.
SpeakSsmlAsync(String, Object) Asynchronously speaks a string of text with Speech Synthesis Markup Language (SSML) markup with a text-to-speech voice.

Remarks

If speech synthesis is occurring and a user triggers another speech synthesis attempt, you might choose to cancel the current attempt and start over with the newest attempt by calling the CancelAll method. OperationCanceledException is raised when the CancelAll method is called, so you can choose to handle the exception by adding a try-catch statement to your code wherever SpeakTextAsync, SpeakSsmlAsync or SpeakSsmlFromUriAsync is called.

For more information about SSML, see Speech Synthesis Markup Language Reference.

Requirements

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

End of phone support

Windows Phone 8.1 [Windows Phone Silverlight 8.1 apps only]

Namespace

Windows.Phone.Speech.Synthesis
Windows::Phone::Speech::Synthesis [C++]

Metadata

Windows.winmd

Capabilities

ID_CAP_SPEECH_RECOGNITION [Windows Phone]

See also

SpeechSynthesizer

 

 

Community Additions

ADD
Show:
© 2014 Microsoft