.NET API
SpeechProviderDescriptor
Tracon.Abstractions.dllA registered speech provider, as the speech provider list reports it.
public sealed record SpeechProviderDescriptor : IEquatable<SpeechProviderDescriptor>- Inheritance
- object ← SpeechProviderDescriptor
- Implements
- IEquatable<SpeechProviderDescriptor>
- Inherited Members
- object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Remarks
Section titled “Remarks”Returned by ISpeechProviderResolver.Providers and GET /api/voice/providers.
Constructors
Section titled “Constructors”SpeechProviderDescriptor()
Section titled “ SpeechProviderDescriptor()”public SpeechProviderDescriptor()Properties
Section titled “Properties”Dialogue
Section titled “ Dialogue”Gets the limits of one dialogue request, or null when the provider cannot voice a dialogue.
public SpeechDialogueCapabilities? Dialogue { get; init; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”Read from the registered instance (ISpeechDialogueSynthesizer.DialogueCapabilities), never from a tenant’s wrapper, so every tenant sees the same value. Always null for a transcriber. A caller reads it to plan its requests, and to choose a provider before ISpeechProviderResolver.GetDialogueSynthesizerAsync fails for one that has none.
Gets whether the provider synthesizes or transcribes speech.
public required SpeechProviderKind Kind { get; init; }Property Value
Section titled “Property Value”Gets the registration name, or null for the unnamed default.
public string? Name { get; init; }Property Value
Section titled “Property Value”ProviderName
Section titled “ ProviderName”Gets the provider name the instance reports. A tenant’s egress policy and provider bindings name this value, not the registration name.
public required string ProviderName { get; init; }Property Value
Section titled “Property Value”SupportsTenantCredentials
Section titled “ SupportsTenantCredentials”Gets whether the provider can call the service with a tenant’s own credential.
public required bool SupportsTenantCredentials { get; init; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Equals(object?)
Section titled “ Equals(object?)”public override bool Equals(object? obj)Parameters
Section titled “Parameters”obj object?
Returns
Section titled “Returns”Equals(SpeechProviderDescriptor?)
Section titled “ Equals(SpeechProviderDescriptor?)”public bool Equals(SpeechProviderDescriptor? other)Parameters
Section titled “Parameters”other SpeechProviderDescriptor?
Returns
Section titled “Returns”GetHashCode()
Section titled “ GetHashCode()”public override int GetHashCode()Returns
Section titled “Returns”ToString()
Section titled “ ToString()”public override string ToString()Returns
Section titled “Returns”Operators
Section titled “Operators”operator ==(SpeechProviderDescriptor?, SpeechProviderDescriptor?)
Section titled “ operator ==(SpeechProviderDescriptor?, SpeechProviderDescriptor?)”public static bool operator ==(SpeechProviderDescriptor? left, SpeechProviderDescriptor? right)Parameters
Section titled “Parameters”left SpeechProviderDescriptor?
right SpeechProviderDescriptor?
Returns
Section titled “Returns”operator !=(SpeechProviderDescriptor?, SpeechProviderDescriptor?)
Section titled “ operator !=(SpeechProviderDescriptor?, SpeechProviderDescriptor?)”public static bool operator !=(SpeechProviderDescriptor? left, SpeechProviderDescriptor? right)Parameters
Section titled “Parameters”left SpeechProviderDescriptor?
right SpeechProviderDescriptor?