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