SpeechSynthesizer.SpeakSsmlAsync(String, Object) method

Applies to Windows Phone only

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

Syntax


public IAsyncAction SpeakSsmlAsync(
  string content, 
  object userState
)

Parameters

content

Type: System.String [.NET] | Platform::String [C++]

The text to speak in Speech Synthesis Markup Language (SSML) format.

userState

Type: System.Object [.NET] | Platform::Object [C++]

Optional information that can be accessed in the completed event to determine which asynchronous call raised the event.

Return value

Type: IAsyncAction

The result of the asynchronous action.

Remarks

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
SpeakSsmlAsync(String)

 

 

Community Additions

ADD
Show:
© 2014 Microsoft