共用方式為


SpeechSynthesisRequest Class

Definition

Contains detailed information for a speech synthesis request. Note: This class is in preview and may be subject to change in future versions. Added in version 1.37.0

public class SpeechSynthesisRequest : IDisposable
type SpeechSynthesisRequest = class
    interface IDisposable
Public Class SpeechSynthesisRequest
Implements IDisposable
Inheritance
SpeechSynthesisRequest
Derived
Implements

Constructors

SpeechSynthesisRequest(SpeechSynthesisRequestInputType)

Creates a speech synthesis request.

Properties

InputStream

Gets the input stream for the request.

Pitch

Sets the pitch of the synthesized speech.

Properties

Contains properties of the request.

Rate

Sets the speaking rate of the synthesized speech.

Volume

Sets the volume of the synthesized speech.

Methods

Dispose()

Dispose of associated resources.

Dispose(Boolean)

This method performs cleanup of resources. The Boolean parameter disposing indicates whether the method is called from Dispose() (if disposing is true) or from the finalizer (if disposing is false). Derived classes should override this method to dispose resource if needed.

Applies to