Table of Contents

Method StopSpeechAsync

Namespace
Oscova.Agents.Avatar
Assembly
Oscova.Agents.dll

StopSpeechAsync(bool, string?)

Stops ongoing speech playback and lip-sync animation.

Task<AvatarSpeechStopResponse> StopSpeechAsync(bool forcedStop = false, string? baseUrl = null)

Parameters

forcedStop bool

True to interrupt immediately. False to stop gracefully (recommended).

baseUrl string?

A previously queued Engine URL to stop, or null for the current connection.

Returns

Task<AvatarSpeechStopResponse>

Response indicating whether the stop request was processed.