private void OnSpeakerIdentificationStatusUpdated(object sender, SpeakerIdentificationStatusUpdateEventArgs e) { Application.Current.Dispatcher.Invoke(() => { StatusText = e.Message; }); }
private void OnSpeakerIdentificationStatusReceived(object sender, SpeakerIdentificationStatusUpdateEventArgs e) { Application.Current.Dispatcher.Invoke(() => { if (e.IdentifiedProfile == null) { return; } SystemResponse = $"Hi there, {e.IdentifiedProfile.IdentifiedProfileId}"; }); }