123456789101112131415161718192021222324252627282930313233343536373839404142 |
- //
- // WXApiManager.h
- // SDKSample
- //
- // Created by Jeason on 16/07/2015.
- //
- //
- #import <Foundation/Foundation.h>
- #import "WXApi.h"
- @protocol WXApiManagerDelegate <NSObject,WXApiDelegate>
- @optional
- - (void)managerDidRecvGetMessageReq:(GetMessageFromWXReq *)request;
- - (void)managerDidRecvShowMessageReq:(ShowMessageFromWXReq *)request;
- - (void)managerDidRecvLaunchFromWXReq:(LaunchFromWXReq *)request;
- - (void)managerDidRecvMessageResponse:(SendMessageToWXResp *)response;
- - (void)managerDidRecvAuthResponse:(SendAuthResp *)response;
- - (void)managerDidRecvAddCardResponse:(AddCardToWXCardPackageResp *)response;
- - (void)rechargeWXPaySuccess;
- - (void)postPaySuccess;
- @end
- @interface WXApiManager : NSObject<WXApiDelegate>
- @property (nonatomic, assign) id<WXApiManagerDelegate> delegate;
- + (instancetype)sharedManager;
- - (void)registerApp;
- - (BOOL)isWechatInstalled;
- @end
|