public void CancelAll() { if (_ttsMessages.Count == 0) { return; } _client.TTSInitialize(); vx_tts_status status = VivoxCoreInstance.vx_tts_cancel_all(TTSManagerId); if (IsNotTTSError(status)) { _ttsMessages.Cleanup(); } else { throw new VivoxApiException((int)status); } }