Condividi tramite


SynthesisTextFormat Enum

Definition

Enumerates the types of text formats that may be used to construct a Prompt object.

public enum class SynthesisTextFormat
public enum SynthesisTextFormat
type SynthesisTextFormat = 
Public Enum SynthesisTextFormat
Inheritance
SynthesisTextFormat

Fields

Name Value Description
Text 0

Indicates that the text format is Text.

Ssml 1

Indicates that the text format is SSML.

Examples

See Prompt.Prompt for an example.

Remarks

The Prompt constructor uses SynthesisTextFormat to indicate the format of the text that its textToSpeak parameter contains.

Applies to

See also