NIMSubscribeResult.h 704 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //
  2. // NIMSubscribeResult.h
  3. // NIMLib
  4. //
  5. // Created by Netease.
  6. // Copyright © 2017 Netease. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. /**
  10. * 查询订阅关系的结果
  11. * @discussion 由查询订阅关系接口返回,表示和本账号订阅的关系详情
  12. */
  13. @interface NIMSubscribeResult : NSObject
  14. /**
  15. * 事件类型
  16. */
  17. @property (nonatomic, assign, readonly) NSInteger type;
  18. /**
  19. * 订阅有效期
  20. */
  21. @property (nonatomic, assign, readonly) NSTimeInterval expiry;
  22. /**
  23. * 订阅时间
  24. */
  25. @property (nonatomic, assign, readonly) NSTimeInterval timestamp;
  26. /**
  27. * 订阅发布事件者的 Id
  28. */
  29. @property (nonatomic, copy, readonly) NSString *publisher;
  30. @end