Table of Contents

Class AudioBufferReceivedEventArgs

Namespace
GenerativeAI.Live
Assembly
GenerativeAI.Live.dll

Provides event data.

public class AudioBufferReceivedEventArgs : EventArgs
Inheritance
AudioBufferReceivedEventArgs
Inherited Members
Extension Methods

Constructors

AudioBufferReceivedEventArgs(byte[], AudioHeaderInfo)

Initializes a new instance of the AudioBufferReceivedEventArgs class.

public AudioBufferReceivedEventArgs(byte[] buffer, AudioHeaderInfo audioHeaderInfo)

Parameters

buffer byte[]

The audio buffer data.

audioHeaderInfo AudioHeaderInfo

The audio header information.

Properties

Buffer

Gets or sets the audio data buffer.

public byte[] Buffer { get; set; }

Property Value

byte[]

HeaderInfo

Gets or sets the header information for the audio data.

public AudioHeaderInfo HeaderInfo { get; set; }

Property Value

AudioHeaderInfo

InputTranscription

Gets or sets the transcription of the input audio.

public Transcription? InputTranscription { get; set; }

Property Value

Transcription

OutputTranscription

Gets or sets the transcription of the output audio.

public Transcription? OutputTranscription { get; set; }

Property Value

Transcription