ITranscriptionEvent.cs 687 B

12345678910111213141516171819202122232425
  1. /*
  2. * Copyright (c) Meta Platforms, Inc. and affiliates.
  3. * All rights reserved.
  4. *
  5. * This source code is licensed under the license found in the
  6. * LICENSE file in the root directory of this source tree.
  7. */
  8. using Meta.WitAi.Events;
  9. namespace Meta.WitAi.Interfaces
  10. {
  11. public interface ITranscriptionEvent
  12. {
  13. /// <summary>
  14. /// Message fired when a partial transcription has been received.
  15. /// </summary>
  16. WitTranscriptionEvent OnPartialTranscription { get; }
  17. /// <summary>
  18. /// Message received when a complete transcription is received.
  19. /// </summary>
  20. WitTranscriptionEvent OnFullTranscription { get; }
  21. }
  22. }