Struct ActivityHandling
The different ways of handling user activity.
[JsonConverter(typeof(ActivityHandlingConverter))]
public readonly record struct ActivityHandling : IEquatable<ActivityHandling>
- Implements
- Inherited Members
Properties
ActivityHandlingUnspecified
If unspecified, the default behavior is START_OF_ACTIVITY_INTERRUPTS.
public static ActivityHandling ActivityHandlingUnspecified { get; }
Property Value
AllValues
public static IReadOnlyList<ActivityHandling> AllValues { get; }
Property Value
NoInterruption
The model's response will not be interrupted.
public static ActivityHandling NoInterruption { get; }
Property Value
StartOfActivityInterrupts
If true, start of activity will interrupt the model's response (also called "barge in"). The model's current response will be cut-off in the moment of the interruption. This is the default behavior.
public static ActivityHandling StartOfActivityInterrupts { get; }
Property Value
Value
public string Value { get; }
Property Value
Methods
Equals(ActivityHandling)
public bool Equals(ActivityHandling other)
Parameters
otherActivityHandling
Returns
FromString(string)
public static ActivityHandling FromString(string value)
Parameters
valuestring
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
implicit operator ActivityHandling(string)
public static implicit operator ActivityHandling(string value)
Parameters
valuestring