BUJSBCommand.h 983 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. //
  2. // BUJSBMessage.h
  3. // BURexxar
  4. //
  5. // Created by muhuai on 2017/4/26.
  6. // Copyright © 2017年 muhuai. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @interface BUJSBCommand : NSObject
  10. @property (nonatomic, copy) NSString *messageType;
  11. @property (nonatomic, copy) NSString *eventID;
  12. @property (nonatomic, copy) NSString *callbackID;
  13. @property (nonatomic, copy) NSDictionary *params;
  14. /**
  15. 前端传过来的方法名, 有"isLogin" 和 "TTRLogin.isLogin"两种格式
  16. */
  17. @property(nonatomic, copy) NSString *fullName;
  18. /**
  19. 经过别名映射后, 该property为 映射前的fullName
  20. */
  21. @property(nonatomic, copy) NSString *origName;
  22. /**
  23. 动态plugin的 类名
  24. */
  25. @property(nonatomic, copy) NSString *className;
  26. /**
  27. 动态plugin的 方法名
  28. */
  29. @property(nonatomic, copy) NSString *methodName;
  30. /**
  31. 没卵用
  32. */
  33. @property(nonatomic, copy) NSString *JSSDKVersion;
  34. - (instancetype)initWithDictonary:(NSDictionary *)dic;
  35. - (NSString *)toJSONString;
  36. @end