EMVideoMessageBody.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. /*!
  2. * \~chinese
  3. * @header EMVideoMessageBody.h
  4. * @abstract 视频消息体
  5. * @author Hyphenate
  6. * @version 3.00
  7. *
  8. * \~english
  9. * @header EMVideoMessageBody.h
  10. * @abstract Video message body
  11. * @author Hyphenate
  12. * @version 3.00
  13. */
  14. #import <Foundation/Foundation.h>
  15. #import "EMFileMessageBody.h"
  16. /*!
  17. * \~chinese
  18. * 视频消息体
  19. *
  20. * \~english
  21. * Video message body
  22. */
  23. @interface EMVideoMessageBody : EMFileMessageBody
  24. /*!
  25. * \~chinese
  26. * 视频时长, 秒为单位
  27. *
  28. * \~english
  29. * Video duration, in seconds
  30. */
  31. @property (nonatomic) int duration;
  32. /*!
  33. * \~chinese
  34. * 缩略图的本地路径
  35. *
  36. * \~english
  37. * Local path of thumbnail
  38. */
  39. @property (nonatomic, copy) NSString *thumbnailLocalPath;
  40. /*!
  41. * \~chinese
  42. * 缩略图在服务器的路径
  43. *
  44. * \~english
  45. * Server url path of thumbnail
  46. */
  47. @property (nonatomic, copy) NSString *thumbnailRemotePath;
  48. /*!
  49. * \~chinese
  50. * 缩略图的密钥, 下载缩略图时需要密匙做校验
  51. *
  52. * \~english
  53. * Secret key of thumbnail, required to download a thumbnail
  54. */
  55. @property (nonatomic, copy) NSString *thumbnailSecretKey;
  56. /*!
  57. * \~chinese
  58. * 视频缩略图的尺寸
  59. *
  60. * \~english
  61. * Size of video thumbnail
  62. */
  63. @property (nonatomic) CGSize thumbnailSize;
  64. /*!
  65. * \~chinese
  66. * 缩略图下载状态
  67. *
  68. * \~english
  69. * Download status of thumbnail
  70. */
  71. @property (nonatomic)EMDownloadStatus thumbnailDownloadStatus;
  72. @end