private void ContinueSession(string text) { TextMoment moment = new TextMoment(DateTime.Now.Ticks, text); _activeSubtitle.AddTextMoment(moment); Update?.Invoke(this, new SpeechUpdateEventArgs(moment)); }
public SpeechUpdateEventArgs(TextMoment moment) { Moment = moment; }
public void AddTextMoment(TextMoment moment) { TextHistory.Add(moment); LatestTime = moment.Timecode; }