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

SessionUpdateInputAudioBufferCommitted Class

Definition

Returned when an input audio buffer is committed, either by the client or automatically in server VAD mode. The item_id property is the ID of the user message item that will be created, thus a conversation.item.created event will also be sent to the client.

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

Properties

EventId

Gets the EventId.

(Inherited from SessionUpdate)
ItemId

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

PreviousItemId

The ID of the preceding item after which the new item will be inserted.

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<SessionUpdateInputAudioBufferCommitted>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<SessionUpdateInputAudioBufferCommitted>.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<SessionUpdateInputAudioBufferCommitted>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<SessionUpdateInputAudioBufferCommitted>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<SessionUpdateInputAudioBufferCommitted>.Write(ModelReaderWriterOptions)

Applies to