Nav apraksta

RNFetchBlobConst.h 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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_INDICATOR;
  30. extern NSString *const CONFIG_KEY;
  31. extern NSString *const CONFIG_EXTRA_BLOB_CTYPE;
  32. // fs events
  33. extern NSString *const FS_EVENT_DATA;
  34. extern NSString *const FS_EVENT_END;
  35. extern NSString *const FS_EVENT_WARN;
  36. extern NSString *const FS_EVENT_ERROR;
  37. extern NSString *const KEY_REPORT_PROGRESS;
  38. extern NSString *const KEY_REPORT_UPLOAD_PROGRESS;
  39. // response type
  40. extern NSString *const RESP_TYPE_BASE64;
  41. extern NSString *const RESP_TYPE_UTF8;
  42. extern NSString *const RESP_TYPE_PATH;
  43. #endif /* RNFetchBlobConst_h */