client_Hale
2019-01-09 14a766de7ddaf2c5e6e0fc0e1d2040fe24bfa72f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//
//  TianQingHeader.h
//  TianQingSDK
//
//  Created by lllll-xy on 18/3/28.
//  Copyright © 2018年 lllll-xy. All rights reserved.
//
 
#ifndef TianQingHeader_h
#define TianQingHeader_h
 
@class TianQingUserAccount;
 
typedef NS_ENUM(NSUInteger, TianQingToolStatus) {
  AMGEL_FAIL = 0,
  TianQing_SUCCESS,
  TianQing_CANCEL,
  TianQing_UNKNOW,
};
 
@protocol TianQingDelegate <NSObject>
 
@optional
 
/*
 @brief SDK登录回调事件
 @param result 登录结果
 @param model 登录成功信息或者失败信息
 */
- (void)accountLoginResult:(TianQingToolStatus)result User:(TianQingUserAccount *)model;
 
/*
 @brief 苹果支付回调事件
 @param result 支付状态
 @param model 支付返回的信息 NSString信息 如果报错也是范围NSString信息
 */
- (void)appstoreResult:(TianQingToolStatus)result data:(id)data;
 
/*
 @brief 注册工具返回信息
 @param result 当前状态
 @param model 返回结果Nsstring 成功为nil
 */
- (void)toolResult:(TianQingToolStatus)result data:(id)data;
 
@end
 
#endif /* TianQingHeader_h */