EMTranslationResult.h 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. //
  2. // EMTranslationResult.h
  3. // HyphenateChat
  4. //
  5. // Created by lixiaoming on 2021/11/9.
  6. // Copyright © 2021 easemob.com. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. /**
  11. * \~chinese
  12. * 翻译结果信息
  13. * @Deprecated 该类已废弃
  14. *
  15. * \~english
  16. * The message translate info
  17. * @Deprecated This object has been deprecated
  18. */
  19. @interface EMTranslationResult : NSObject
  20. /*!
  21. * \~chinese
  22. * 消息Id
  23. *
  24. * \~english
  25. * The Translation's messageId
  26. */
  27. @property (nonatomic,strong) NSString* msgId;
  28. /*!
  29. * \~chinese
  30. * 是否显示翻译
  31. *
  32. * \~english
  33. * Weather to show the translations
  34. */
  35. @property (nonatomic,assign) BOOL showTranslation;
  36. /*!
  37. * \~chinese
  38. * 翻译次数
  39. *
  40. * \~english
  41. * How many tims the message have been translated
  42. */
  43. @property (nonatomic,assign) NSUInteger translateTimes;
  44. /*!
  45. * \~chinese
  46. * 翻译内容
  47. *
  48. * \~english
  49. * The translation result content
  50. */
  51. @property (nonatomic,strong) NSString* translations;
  52. @end
  53. NS_ASSUME_NONNULL_END