QYCustomEvent.h 707 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //
  2. // QYCustomEvent.h
  3. // YSFSDK
  4. //
  5. // Created by Netease on 2018/11/28.
  6. // Copyright © 2018 Netease. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. /**
  10. * 可自行扩展事件名称,在onCatchEvent:回调中通过eventName判断事件
  11. */
  12. extern NSString * const QYCustomEventTapAvatar;
  13. extern NSString * const QYCustomEventLongPressCell;
  14. @class QYCustomMessage;
  15. /**
  16. * 消息事件
  17. */
  18. @interface QYCustomEvent : NSObject
  19. /**
  20. * 事件名称
  21. */
  22. @property (nonatomic, copy) NSString *eventName;
  23. /**
  24. * 消息
  25. */
  26. @property (nonatomic, strong) QYCustomMessage *message;
  27. /**
  28. * 扩展数据,可传递任意想传递的数据
  29. */
  30. @property (nonatomic, strong) id data;
  31. @end