Share via


SpeechToTextClientBuilder Constructors

Definition

Overloads

SpeechToTextClientBuilder(ISpeechToTextClient)

Source:
SpeechToTextClientBuilder.cs

Initializes a new instance of the SpeechToTextClientBuilder class.

public:
 SpeechToTextClientBuilder(Microsoft::Extensions::AI::ISpeechToTextClient ^ innerClient);
public SpeechToTextClientBuilder(Microsoft.Extensions.AI.ISpeechToTextClient innerClient);
new Microsoft.Extensions.AI.SpeechToTextClientBuilder : Microsoft.Extensions.AI.ISpeechToTextClient -> Microsoft.Extensions.AI.SpeechToTextClientBuilder
Public Sub New (innerClient As ISpeechToTextClient)

Parameters

innerClient
ISpeechToTextClient

The inner ISpeechToTextClient that represents the underlying backend.

Applies to

SpeechToTextClientBuilder(Func<IServiceProvider,ISpeechToTextClient>)

Source:
SpeechToTextClientBuilder.cs

Initializes a new instance of the SpeechToTextClientBuilder class.

public:
 SpeechToTextClientBuilder(Func<IServiceProvider ^, Microsoft::Extensions::AI::ISpeechToTextClient ^> ^ innerClientFactory);
public SpeechToTextClientBuilder(Func<IServiceProvider,Microsoft.Extensions.AI.ISpeechToTextClient> innerClientFactory);
new Microsoft.Extensions.AI.SpeechToTextClientBuilder : Func<IServiceProvider, Microsoft.Extensions.AI.ISpeechToTextClient> -> Microsoft.Extensions.AI.SpeechToTextClientBuilder
Public Sub New (innerClientFactory As Func(Of IServiceProvider, ISpeechToTextClient))

Parameters

innerClientFactory
Func<IServiceProvider,ISpeechToTextClient>

A callback that produces the inner ISpeechToTextClient that represents the underlying backend.

Applies to