ITtsEngineSite 接口
定义
提供写入音频数据和事件的方法。Provides methods for writing audio data and events.
public interface class ITtsEngineSite
public interface ITtsEngineSite
type ITtsEngineSite = interface
Public Interface ITtsEngineSite
属性
| Actions |
确定引擎应执行的一个或多个操作。Determines the action or actions the engine should perform. |
| EventInterest |
确定事件引擎应引发。Determines the events the engine should raise. |
| Rate |
获取引擎的语速。Gets the speaking rate of the engine. |
| Volume |
获取引擎的音量。Gets the speaking volume of the engine. |
方法
| AddEvents(SpeechEventInfo[], Int32) |
在 |
| CompleteSkip(Int32) |
返回已跳过的项数。Returns the number of items skipped. |
| GetSkipInfo() |
返回要跳过的项的数目和类型。Returns the number and type of items to be skipped. |
| LoadResource(Uri, String) |
加载位于指定 URI 中的资源。Loads the resource at the specified URI. |
| Write(IntPtr, Int32) |
输出音频数据。Outputs audio data. |