ResponseAudioDeltaEvent Class
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.
Emitted when there is a partial audio response.
public class ResponseAudioDeltaEvent : Azure.AI.AgentServer.Responses.Models.ResponseStreamEvent, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Responses.Models.ResponseAudioDeltaEvent>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Responses.Models.ResponseAudioDeltaEvent>
type ResponseAudioDeltaEvent = class
inherit ResponseStreamEvent
interface IJsonModel<ResponseAudioDeltaEvent>
interface IPersistableModel<ResponseAudioDeltaEvent>
Public Class ResponseAudioDeltaEvent
Inherits ResponseStreamEvent
Implements IJsonModel(Of ResponseAudioDeltaEvent), IPersistableModel(Of ResponseAudioDeltaEvent)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| ResponseAudioDeltaEvent(Int64, BinaryData) |
Initializes a new instance of ResponseAudioDeltaEvent. |
Properties
| Name | Description |
|---|---|
| Delta |
A chunk of Base64 encoded response audio bytes. To assign a byte[] to this property use FromBytes(Byte[]). The byte[] will be serialized to a Base64 encoded string. Examples:
|
| EventType |
Gets the event type discriminator (e.g. |
| SequenceNumber |
Gets the SequenceNumber. (Inherited from ResponseStreamEvent) |
Methods
Operators
| Name | Description |
|---|---|
| Explicit(ClientResult to ResponseAudioDeltaEvent) | |
Explicit Interface Implementations
Extension Methods
| Name | Description |
|---|---|
| SnapshotEmbeddedResponse(ResponseStreamEvent, ResponseObject) |
If the event is a lifecycle event that embeds a ResponseObject reference,
replaces it with an immutable snapshot of the given |