Table of Contents

Class VoiceActivity

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Voice activity signal sent by the server.

public class VoiceActivity
Inheritance
VoiceActivity
Inherited Members
Extension Methods

Properties

AudioOffset

The time voice activity was detected in audio time, relative to the start of the audio stream (a duration string such as "1.5s").

[JsonPropertyName("audioOffset")]
public string? AudioOffset { get; set; }

Property Value

string

VoiceActivityType

The type of the voice activity signal.

[JsonPropertyName("type")]
public VoiceActivityType? VoiceActivityType { get; set; }

Property Value

VoiceActivityType?