SpeechToTextClientBuilder Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SpeechToTextClientBuilder(ISpeechToTextClient) |
Initializes a new instance of the SpeechToTextClientBuilder class. |
SpeechToTextClientBuilder(Func<IServiceProvider,ISpeechToTextClient>) |
Initializes a new instance of the SpeechToTextClientBuilder class. |
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.