No Description

RNFetchBlobConst.h 1.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. //
  2. // RNFetchBlobConst.h
  3. // RNFetchBlob
  4. //
  5. // Created by Ben Hsieh on 2016/6/6.
  6. // Copyright © 2016年 suzuri04x2. All rights reserved.
  7. //
  8. #ifndef RNFetchBlobConst_h
  9. #define RNFetchBlobConst_h
  10. #import <Foundation/Foundation.h>
  11. // lib event
  12. extern NSString *const MSG_EVENT;
  13. extern NSString *const MSG_EVENT_LOG;
  14. extern NSString *const MSG_EVENT_WARN;
  15. extern NSString *const MSG_EVENT_ERROR;
  16. extern NSString *const EVENT_EXPIRE;
  17. extern NSString *const EVENT_PROGRESS;
  18. extern NSString *const EVENT_SERVER_PUSH;
  19. extern NSString *const EVENT_PROGRESS_UPLOAD;
  20. extern NSString *const EVENT_STATE_CHANGE;
  21. extern NSString *const FILE_PREFIX;
  22. extern NSString *const ASSET_PREFIX;
  23. extern NSString *const AL_PREFIX;
  24. // config
  25. extern NSString *const CONFIG_USE_TEMP;
  26. extern NSString *const CONFIG_FILE_PATH;
  27. extern NSString *const CONFIG_FILE_EXT;
  28. extern NSString *const CONFIG_TRUSTY;
  29. extern NSString *const CONFIG_WIFI_ONLY;
  30. extern NSString *const CONFIG_INDICATOR;
  31. extern NSString *const CONFIG_KEY;
  32. extern NSString *const CONFIG_EXTRA_BLOB_CTYPE;
  33. // fs events
  34. extern NSString *const FS_EVENT_DATA;
  35. extern NSString *const FS_EVENT_END;
  36. extern NSString *const FS_EVENT_WARN;
  37. extern NSString *const FS_EVENT_ERROR;
  38. extern NSString *const KEY_REPORT_PROGRESS;
  39. extern NSString *const KEY_REPORT_UPLOAD_PROGRESS;
  40. // response type
  41. extern NSString *const RESP_TYPE_BASE64;
  42. extern NSString *const RESP_TYPE_UTF8;
  43. extern NSString *const RESP_TYPE_PATH;
  44. #endif /* RNFetchBlobConst_h */