洛阳学员端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

70 lines
1.7 KiB

8 months ago
  1. //
  2. // APBProtocol.h
  3. // BioAuthEngine
  4. //
  5. // Created by yukun.tyk on 3/15/16.
  6. // Copyright © 2016 DTF. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import <BioAuthEngine/APBConfig.h>
  10. //若不支持pb
  11. #ifndef SUPPORT_PB
  12. @interface BisClientConfigContent : NSObject
  13. @property (nonatomic,strong) NSString* token;
  14. @property (nonatomic,strong) NSString* type;
  15. @property (nonatomic,strong) NSString* sampleMode;
  16. @property (nonatomic,strong) NSString* androidcfg;
  17. @property (nonatomic,strong) NSString* ioscfg;
  18. @property (nonatomic,strong) NSString* h5cfg;
  19. @end
  20. @interface BisClientConfig : NSObject
  21. @property (nonatomic,strong) BisClientConfigContent* content;
  22. @property (nonatomic,strong) NSString* sign;
  23. @end
  24. //若支持PB
  25. #else
  26. #ifdef __cplusplus
  27. extern "C"{
  28. #endif
  29. #import <APProtocolBuffers/ProtocolBuffers.h>
  30. #ifdef __cplusplus
  31. }
  32. #endif
  33. @interface BisClientConfigContent : APDPBGeneratedMessage
  34. @property (readonly) BOOL hasToken;
  35. @property (readonly) BOOL hasType;
  36. @property (readonly) BOOL hasSampleMode;
  37. @property (readonly) BOOL hasAndroidcfg;
  38. @property (readonly) BOOL hasIoscfg;
  39. @property (readonly) BOOL hasH5cfg;
  40. @property (nonatomic,strong) NSString* token ;
  41. @property (nonatomic) SInt32 type ;
  42. @property (nonatomic) SInt32 sampleMode ;
  43. @property (nonatomic,strong) NSString* androidcfg ;
  44. @property (nonatomic,strong) NSString* ioscfg ;
  45. @property (nonatomic,strong) NSString* h5cfg ;
  46. @end
  47. @interface BisClientConfig : APDPBGeneratedMessage
  48. @property (readonly) BOOL hasContent;
  49. @property (readonly) BOOL hasContentBytes;
  50. @property (readonly) BOOL hasSign;
  51. @property (nonatomic,strong) NSString* content ;
  52. @property (nonatomic,strong) BisClientConfigContent* contentBytes ;
  53. @property (nonatomic,strong) NSString* sign ;
  54. @end
  55. #endif