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
forcedStopbool-
True to interrupt immediately. False to stop gracefully (recommended).
baseUrlstring?-
A previously queued Engine URL to stop, or null for the current connection.
Returns
- Task<AvatarSpeechStopResponse>
-
Response indicating whether the stop request was processed.