Share via


VoiceLiveModelFactory.SessionUpdateResponseAudioDone Method

Definition

Returned when the model-generated audio is done. Also emitted when a Response is interrupted, incomplete, or cancelled.

public static Azure.AI.VoiceLive.SessionUpdateResponseAudioDone SessionUpdateResponseAudioDone(string eventId = default, string responseId = default, string itemId = default, int outputIndex = 0, int contentIndex = 0);
static member SessionUpdateResponseAudioDone : string * string * string * int * int -> Azure.AI.VoiceLive.SessionUpdateResponseAudioDone
Public Shared Function SessionUpdateResponseAudioDone (Optional eventId As String = Nothing, Optional responseId As String = Nothing, Optional itemId As String = Nothing, Optional outputIndex As Integer = 0, Optional contentIndex As Integer = 0) As SessionUpdateResponseAudioDone

Parameters

eventId
String
responseId
String

The ID of the response.

itemId
String

The ID of the item.

outputIndex
Int32

The index of the output item in the response.

contentIndex
Int32

The index of the content part in the item's content array.

Returns

A new SessionUpdateResponseAudioDone instance for mocking.

Applies to