省钱达人

WXApiManager.h 887B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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,WXApiDelegate>
  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. - (void)rechargeWXPaySuccess;
  19. - (void)postPaySuccess;
  20. @end
  21. @interface WXApiManager : NSObject<WXApiDelegate>
  22. @property (nonatomic, assign) id<WXApiManagerDelegate> delegate;
  23. + (instancetype)sharedManager;
  24. - (void)registerApp;
  25. - (BOOL)isWechatInstalled;
  26. @end