Blame view

ios/CoreBlue.framework/Headers/InitSDKProtocol.h 792 Bytes
0605edc71   alexYang   接入bluePay第三方支付dem...
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
  //
  //  InitProtocol.h
  //  BluePay
  //
  //  Created by guojianmin on 16/1/9.
  //  Copyright © 2016年 alvin. All rights reserved.
  //
  
  #ifndef InitSDKProtocol_h
  #define InitSDKProtocol_h
  #import <Foundation/Foundation.h>
  #endif /* InitProtocol_h */
  
  
  @protocol InitSDKProtocal <NSObject>
  @required
  /*!
   *@discription  this functin must be impletation on the class which you want to init the BluePay SDK. this function is required .if finish init will call this function nomatter init failed or seccess.
   * @param int result    the result code
   *@param NSString* msg  the message of the result.
   */
  -(void)complete:(int)code result:(NSString*) msg;
  
  
  @required
  
  @end
  @interface InitResult : NSObject
  
  enum RESULT
  {
      FAIL_PARAMETER = -1,
      FAIL_KEY = -2,
      FAIL = 0,
      SUECCESS = 1
  };
  @end