WXApiManager.h 770 B

123456789101112131415161718192021222324252627282930313233343536
  1. //
  2. // WXApiManager.h
  3. // SDKSample
  4. //
  5. // Created by Jeason on 16/07/2015.
  6. //
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "WXApi.h"
  10. @protocol WXApiManagerDelegate <NSObject>
  11. @optional
  12. - (void)managerDidRecvGetMessageReq:(GetMessageFromWXReq *)request;
  13. - (void)managerDidRecvShowMessageReq:(ShowMessageFromWXReq *)request;
  14. - (void)managerDidRecvLaunchFromWXReq:(LaunchFromWXReq *)request;
  15. - (void)managerDidRecvMessageResponse:(SendMessageToWXResp *)response;
  16. - (void)managerDidRecvAuthResponse:(SendAuthResp *)response;
  17. - (void)managerDidRecvAddCardResponse:(AddCardToWXCardPackageResp *)response;
  18. @end
  19. @interface WXApiManager : NSObject<WXApiDelegate>
  20. @property (nonatomic, assign) id<WXApiManagerDelegate> delegate;
  21. + (instancetype)sharedManager;
  22. @end