Jaa


ConfigureOptionsTextToSpeechClient Class

Definition

Represents a delegating text to speech client that configures a TextToSpeechOptions instance used by the remainder of the pipeline.

public ref class ConfigureOptionsTextToSpeechClient sealed : Microsoft::Extensions::AI::DelegatingTextToSpeechClient
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
public sealed class ConfigureOptionsTextToSpeechClient : Microsoft.Extensions.AI.DelegatingTextToSpeechClient
public sealed class ConfigureOptionsTextToSpeechClient : Microsoft.Extensions.AI.DelegatingTextToSpeechClient
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
type ConfigureOptionsTextToSpeechClient = class
    inherit DelegatingTextToSpeechClient
type ConfigureOptionsTextToSpeechClient = class
    inherit DelegatingTextToSpeechClient
Public NotInheritable Class ConfigureOptionsTextToSpeechClient
Inherits DelegatingTextToSpeechClient
Inheritance
ConfigureOptionsTextToSpeechClient
Attributes

Constructors

Name Description
ConfigureOptionsTextToSpeechClient(ITextToSpeechClient, Action<TextToSpeechOptions>)

Initializes a new instance of the ConfigureOptionsTextToSpeechClient class with the specified configure callback.

Properties

Name Description
InnerClient

Gets the inner ITextToSpeechClient.

(Inherited from DelegatingTextToSpeechClient)

Methods

Name Description
Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

(Inherited from DelegatingTextToSpeechClient)
Dispose(Boolean)

Provides a mechanism for releasing unmanaged resources.

(Inherited from DelegatingTextToSpeechClient)
GetAudioAsync(String, TextToSpeechOptions, CancellationToken)
GetService(Type, Object)

Asks the ITextToSpeechClient for an object of the specified type serviceType.

(Inherited from DelegatingTextToSpeechClient)
GetStreamingAudioAsync(String, TextToSpeechOptions, CancellationToken)

Extension Methods

Name Description
AsBuilder(ITextToSpeechClient)

Creates a new TextToSpeechClientBuilder using innerClient as its inner client.

GetService<TService>(ITextToSpeechClient, Object)

Asks the ITextToSpeechClient for an object of type TService.

Applies to