酷店

OpenNoCaptchaDefine.h 1.6KB

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // OpenNoCaptchaDefine.h
  3. // SecurityGuardSDK
  4. //
  5. // Created by chenkong on 15/4/29.
  6. // Copyright (c) 2015年 Li Fengzhong. All rights reserved.
  7. //
  8. //touch event type
  9. extern NSInteger const OPEN_TOUCH_TYPE_BEGAN;
  10. extern NSInteger const OPEN_TOUCH_TYPE_MOVED;
  11. extern NSInteger const OPEN_TOUCH_TYPE_ENDED;
  12. //status code
  13. extern NSInteger const OPEN_NC_INIT_SUCCEED; //101 返回两个渲染坐标
  14. extern NSInteger const OPEN_NC_VERI_SUCCEED; //102 返回token,sig,sessionId
  15. extern NSInteger const OPEN_NC_RETRY; //103 返回两个渲染坐标
  16. extern NSInteger const OPEN_NC_SERVER_FAULT; //104 返回token,sig,sessionId
  17. //error status code
  18. extern NSInteger const OPEN_NC_INVALID_PARA; //1201
  19. extern NSInteger const OPEN_NC_NO_MEMORY; //1202
  20. extern NSInteger const OPEN_NC_NOT_INIT_YET; //1203
  21. extern NSInteger const OPEN_NC_QUEUE_FULL; //1204
  22. extern NSInteger const OPEN_NC_RETRY_TO_MAX; //1205
  23. extern NSInteger const OPEN_NC_HTTP_NO_TOKEN; //1206
  24. extern NSInteger const OPEN_NC_HTTP_REQUEST_FAIL; //1207
  25. extern NSInteger const OPEN_NC_SERVER_RETURN_ERROR; //1208
  26. extern NSInteger const OPEN_NC_VERI_GET_WUA_FAIL; //1209
  27. extern NSInteger const OPEN_NC_VERI_GET_TRACE_FAIL; //1210
  28. extern NSInteger const OPEN_NC_VERI_APPKEY_MISMATCH; //1211
  29. extern NSInteger const OPEN_NC_VERI_SESSION_EXPIRED; //1212
  30. extern NSInteger const OPEN_NC_UNKNOWN_ERROR; //1299