Table of Contents

Struct StartSensitivity

Namespace
Google.GenAI.Types
Assembly
Google.GenAI.dll

Start of speech sensitivity.

[JsonConverter(typeof(StartSensitivityConverter))]
public readonly record struct StartSensitivity : IEquatable<StartSensitivity>
Implements
Inherited Members

Properties

AllValues

public static IReadOnlyList<StartSensitivity> AllValues { get; }

Property Value

IReadOnlyList<StartSensitivity>

StartSensitivityHigh

Automatic detection will detect the start of speech more often.

public static StartSensitivity StartSensitivityHigh { get; }

Property Value

StartSensitivity

StartSensitivityLow

Automatic detection will detect the start of speech less often.

public static StartSensitivity StartSensitivityLow { get; }

Property Value

StartSensitivity

StartSensitivityUnspecified

The default is START_SENSITIVITY_LOW for Gemini Enterprise Agent Platform and START_SENSITIVITY_HIGH for Gemini Live.

public static StartSensitivity StartSensitivityUnspecified { get; }

Property Value

StartSensitivity

Value

public string Value { get; }

Property Value

string

Methods

Equals(StartSensitivity)

public bool Equals(StartSensitivity other)

Parameters

other StartSensitivity

Returns

bool

FromString(string)

public static StartSensitivity FromString(string value)

Parameters

value string

Returns

StartSensitivity

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

implicit operator StartSensitivity(string)

public static implicit operator StartSensitivity(string value)

Parameters

value string

Returns

StartSensitivity