LivenessDetection_def_g.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. #ifndef __LIVENESSDETECTION_DEF_G_H
  2. #define __LIVENESSDETECTION_DEF_G_H
  3. #pragma once
  4. // This code is generated by spgen tool!
  5. #include "SpHelper.h"
  6. namespace LivenessDetection {
  7. //
  8. // const goes here
  9. //
  10. #define LivenessDetectionService_Method_StartLivenessDetection 0
  11. #define LivenessDetectionService_Method_StopLivenessDetection 1
  12. #define LivenessDetectionService_MethodSignature_StartLivenessDetection 1875899628
  13. #define LivenessDetectionService_MethodSignature_StopLivenessDetection -698442534
  14. struct LivenessDetectionService_StartLivenessDetection_Req
  15. {
  16. CSimpleStringW ActionID;
  17. bool IsActive;
  18. CSimpleStringW Reserved;
  19. void Serialize(SpBuffer &Buf)
  20. {
  21. auto & buf = Buf & ActionID & IsActive & Reserved;
  22. }
  23. };
  24. struct LivenessDetectionService_StartLivenessDetection_Ans
  25. {
  26. void Serialize(SpBuffer &Buf)
  27. {
  28. }
  29. };
  30. struct LivenessDetectionService_StopLivenessDetection_Req
  31. {
  32. CSimpleStringW ActionID;
  33. void Serialize(SpBuffer &Buf)
  34. {
  35. auto & buf = Buf & ActionID;
  36. }
  37. };
  38. struct LivenessDetectionService_StopLivenessDetection_Ans
  39. {
  40. CSimpleStringW ActionID;
  41. CSimpleStringW VerifyResult;
  42. CBlob LivePhotosData;
  43. CSimpleStringW LivePhotosLength;
  44. void Serialize(SpBuffer &Buf)
  45. {
  46. auto & buf = Buf & ActionID & VerifyResult & LivePhotosData & LivePhotosLength;
  47. }
  48. };
  49. ///////////////////////////
  50. } // namespace LivenessDetection
  51. #endif // __LIVENESSDETECTION_DEF_G_H