你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SessionUpdateInputAudioBufferSpeechStarted Class

Definition

The SessionUpdateInputAudioBufferSpeechStarted.

public class SessionUpdateInputAudioBufferSpeechStarted : Azure.AI.VoiceLive.SessionUpdate, System.ClientModel.Primitives.IJsonModel<Azure.AI.VoiceLive.SessionUpdateInputAudioBufferSpeechStarted>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.VoiceLive.SessionUpdateInputAudioBufferSpeechStarted>
type SessionUpdateInputAudioBufferSpeechStarted = class
    inherit SessionUpdate
    interface IJsonModel<SessionUpdateInputAudioBufferSpeechStarted>
    interface IPersistableModel<SessionUpdateInputAudioBufferSpeechStarted>
Public Class SessionUpdateInputAudioBufferSpeechStarted
Inherits SessionUpdate
Implements IJsonModel(Of SessionUpdateInputAudioBufferSpeechStarted), IPersistableModel(Of SessionUpdateInputAudioBufferSpeechStarted)
Inheritance
SessionUpdateInputAudioBufferSpeechStarted
Implements

Properties

AudioStart

Time from the start of all audio written to the buffer during the session when speech was first detected. This will correspond to the beginning of audio sent to the model, and thus includes the prefix_padding_ms configured in the Session.

EventId

Gets the EventId.

(Inherited from SessionUpdate)
ItemId

The ID of the user message item that will be created when speech stops.

Methods

JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<SessionUpdate>.Create(Utf8JsonReader, ModelReaderWriterOptions) (Inherited from SessionUpdate)
IJsonModel<SessionUpdate>.Write(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from SessionUpdate)
IJsonModel<SessionUpdateInputAudioBufferSpeechStarted>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<SessionUpdateInputAudioBufferSpeechStarted>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<SessionUpdate>.Create(BinaryData, ModelReaderWriterOptions) (Inherited from SessionUpdate)
IPersistableModel<SessionUpdate>.GetFormatFromOptions(ModelReaderWriterOptions) (Inherited from SessionUpdate)
IPersistableModel<SessionUpdate>.Write(ModelReaderWriterOptions) (Inherited from SessionUpdate)
IPersistableModel<SessionUpdateInputAudioBufferSpeechStarted>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<SessionUpdateInputAudioBufferSpeechStarted>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<SessionUpdateInputAudioBufferSpeechStarted>.Write(ModelReaderWriterOptions)

Applies to