EMCursorResult.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. /*!
  2. * \~chinese
  3. * @header EMCursorResult.h
  4. * @abstract 分段结果
  5. * @author Hyphenate
  6. * @version 3.00
  7. *
  8. * \~english
  9. * @header EMCursorResult.h
  10. * @abstract Subsection result
  11. * @author Hyphenate
  12. * @version 3.00
  13. */
  14. #import <Foundation/Foundation.h>
  15. /*!
  16. * \~chinese
  17. * 分段结果
  18. *
  19. * \~english
  20. * Sub-section result
  21. */
  22. @interface EMCursorResult : NSObject
  23. /*!
  24. * \~chinese
  25. * 结果列表<id>
  26. *
  27. * \~english
  28. * Result list<id>
  29. */
  30. @property (nonatomic, strong) NSArray *list;
  31. /*!
  32. * \~chinese
  33. * 获取下一段结果的游标
  34. *
  35. * \~english
  36. * The cursor of next section
  37. */
  38. @property (nonatomic, copy) NSString *cursor;
  39. /*!
  40. * \~chinese
  41. * 创建实例
  42. *
  43. * @param aList 结果列表<id>
  44. * @param aCusror 获取下一段结果的游标
  45. *
  46. * @result 分段结果的实例
  47. *
  48. * \~english
  49. * Get result instance
  50. *
  51. * @param aList Result list<id>
  52. * @param aCusror The cursor of next section
  53. *
  54. * @result An instance of cursor result
  55. */
  56. + (instancetype)cursorResultWithList:(NSArray *)aList
  57. andCursor:(NSString *)aCusror;
  58. @end