Table of Contents

Class SynthesizerOption

Namespace
BootstrapBlazor.Components
Assembly
BootstrapBlazor.dll

语音合成配置类

public class SynthesizerOption
Inheritance
SynthesizerOption
Inherited Members
Extension Methods

Constructors

SynthesizerOption()

public SynthesizerOption()

Properties

Callback

获得/设置 回调方法 默认 null

public Func<SynthesizerStatus, Task>? Callback { get; set; }

Property Value

Func<SynthesizerStatus, Task>

MethodName

获得/设置 语音识别指令名称 默认 null

public string? MethodName { get; set; }

Property Value

string

SpeechSynthesisLanguage

获得/设置 识别语音文化 默认 zh-CN

public string SpeechSynthesisLanguage { get; set; }

Property Value

string

SpeechSynthesisVoiceName

获得/设置 结果文化 默认 zh-CN

public string SpeechSynthesisVoiceName { get; set; }

Property Value

string

Text

获得/设置 语音合成文本内容 默认 null

public string? Text { get; set; }

Property Value

string