EMGroupSharedFile.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. /*!
  2. * \~chinese
  3. * @header EMGroupSharedFile.h
  4. * @abstract 群组共享文件
  5. * @author Hyphenate
  6. * @version 3.00
  7. *
  8. * \~english
  9. * @header EMGroupSharedFile.h
  10. * @abstract Group share file
  11. * @author Hyphenate
  12. * @version 3.00
  13. */
  14. #import <Foundation/Foundation.h>
  15. @interface EMGroupSharedFile : NSObject
  16. /*!
  17. * \~chinese
  18. * 文件的唯一标识符
  19. *
  20. * \~english
  21. * Unique identifier of File
  22. */
  23. @property (nonatomic, copy, readonly) NSString *fileId;
  24. /*!
  25. * \~chinese
  26. * 文件名称
  27. *
  28. * \~english
  29. * Name of File
  30. */
  31. @property (nonatomic, copy, readonly) NSString *fileName;
  32. /*!
  33. * \~chinese
  34. * 文件发布者
  35. *
  36. * \~english
  37. * Owner of File
  38. */
  39. @property (nonatomic, copy, readonly) NSString *fileOwner;
  40. /*!
  41. * \~chinese
  42. * 文件创建时间
  43. *
  44. * \~english
  45. * Create Time of File
  46. */
  47. @property (nonatomic) long long createTime;
  48. /*!
  49. * \~chinese
  50. * 文件大小
  51. *
  52. * \~english
  53. * Size of File
  54. */
  55. @property (nonatomic) long long fileSize;
  56. /*!
  57. * \~chinese
  58. * 获取群共享实例
  59. *
  60. * @param aFileId 文件ID
  61. *
  62. * @result 群共享实例
  63. *
  64. * \~english
  65. * Get Share file instance
  66. *
  67. * @param aFileId file id
  68. *
  69. * @result Share file instance
  70. */
  71. + (instancetype)sharedFileWithId:(NSString*)aFileId;
  72. @end