SpeakSsmlFromUriAsync(Uri, Object) method
Collapse the table of content
Expand the table of content

SpeechSynthesizer.SpeakSsmlFromUriAsync(Uri, Object) method

Asynchronously speaks the content of a standalone Speech Synthesis Markup Language (SSML) document with a text-to-speech voice.

Syntax


public:
IAsyncAction^ SpeakSsmlFromUriAsync(
  Uri^ content, 
  Object^ userState
)

Parameters

content

Type: System.Uri [.NET] | Windows::Foundation::Uri [C++]

A uri to the standalone Speech Synthesis Markup Language (SSML) document.

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

Namespace

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

Metadata

Windows.WinMD

Capabilities

ID_CAP_SPEECH_RECOGNITION [Windows Phone]

See also

SpeechSynthesizer
SpeakSsmlFromUriAsync(Uri)

 

 

Show:
© 2017 Microsoft