SpeechToTextResponseUpdateKind Struct
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.
Describes the intended purpose of a specific update during streaming of speech to text updates.
public value class SpeechToTextResponseUpdateKind : IEquatable<Microsoft::Extensions::AI::SpeechToTextResponseUpdateKind>
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001")]
[System.Text.Json.Serialization.JsonConverter(typeof(Microsoft.Extensions.AI.SpeechToTextResponseUpdateKind+Converter))]
public readonly struct SpeechToTextResponseUpdateKind : IEquatable<Microsoft.Extensions.AI.SpeechToTextResponseUpdateKind>
[System.Text.Json.Serialization.JsonConverter(typeof(Microsoft.Extensions.AI.SpeechToTextResponseUpdateKind+Converter))]
public readonly struct SpeechToTextResponseUpdateKind : IEquatable<Microsoft.Extensions.AI.SpeechToTextResponseUpdateKind>
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001")>]
[<System.Text.Json.Serialization.JsonConverter(typeof(Microsoft.Extensions.AI.SpeechToTextResponseUpdateKind+Converter))>]
type SpeechToTextResponseUpdateKind = struct
[<System.Text.Json.Serialization.JsonConverter(typeof(Microsoft.Extensions.AI.SpeechToTextResponseUpdateKind+Converter))>]
type SpeechToTextResponseUpdateKind = struct
Public Structure SpeechToTextResponseUpdateKind
Implements IEquatable(Of SpeechToTextResponseUpdateKind)
- Inheritance
- Attributes
- Implements
Constructors
SpeechToTextResponseUpdateKind(String) |
Initializes a new instance of the SpeechToTextResponseUpdateKind struct with the provided value. |
Properties
Error |
Gets when a non-blocking error occurs during speech to text updates. |
SessionClose |
Gets when the generated text session is closed. |
SessionOpen |
Gets when the generated text session is opened. |
TextUpdated |
Gets when the text was generated after small period of silence. |
TextUpdating |
Gets when the text update is in progress, without waiting for silence. |
Value |
Gets the value associated with this SpeechToTextResponseUpdateKind. |
Methods
Equals(Object) |
Indicates whether this instance and a specified object are equal. |
Equals(SpeechToTextResponseUpdateKind) |
Indicates whether the current object is equal to another object of the same type. |
GetHashCode() |
Returns the hash code for this instance. |
ToString() |
Returns the fully qualified type name of this instance. |
Operators
Equality(SpeechToTextResponseUpdateKind, SpeechToTextResponseUpdateKind) |
Returns a value indicating whether two SpeechToTextResponseUpdateKind instances are equivalent, as determined by a case-insensitive comparison of their values. |
Inequality(SpeechToTextResponseUpdateKind, SpeechToTextResponseUpdateKind) |
Returns a value indicating whether two SpeechToTextResponseUpdateKind instances are not equivalent, as determined by a case-insensitive comparison of their values. |