SynthesisTextFormat SynthesisTextFormat SynthesisTextFormat SynthesisTextFormat Enum

定义

枚举可用于构造 Prompt 对象的文本格式的类型。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
继承
SynthesisTextFormatSynthesisTextFormatSynthesisTextFormatSynthesisTextFormat

字段

Ssml Ssml Ssml Ssml 1

指示该文本格式为 SSML。Indicates that the text format is SSML.

Text Text Text Text 0

指示该文本格式为 Text。Indicates that the text format is Text.

示例

有关示例,请参见 Prompt.PromptSee Prompt.Prompt for an example.

注解

构造函数使用SynthesisTextFormat指示其textToSpeak参数包含的文本格式。 PromptThe Prompt constructor uses SynthesisTextFormat to indicate the format of the text that its textToSpeak parameter contains.

适用于

另请参阅