Table of Contents

Class TextChunkReceivedArgs

Namespace
GenerativeAI.Live
Assembly
GenerativeAI.Live.dll

Contains the arguments for the event when a text chunk is received.

public class TextChunkReceivedArgs : EventArgs
Inheritance
TextChunkReceivedArgs
Inherited Members
Extension Methods

Constructors

TextChunkReceivedArgs(string, bool)

Initializes a new instance of the TextChunkReceivedArgs class.

public TextChunkReceivedArgs(string text, bool isTurnFinish)

Parameters

text string

The text of the received chunk.

isTurnFinish bool

A value indicating whether the turn is finished.

Properties

IsTurnFinish

Gets or sets a value indicating whether the turn is finished.

public bool IsTurnFinish { get; set; }

Property Value

bool

Text

Gets or sets the text of the received chunk.

public string Text { get; set; }

Property Value

string