9 #import <Foundation/Foundation.h>
12 typedef NS_ENUM(NSInteger, EZErrorCode) {
16 EZ_DEVICE_TTS_REQUEST_TIMEOUT = 360001,
17 EZ_DEVICE_TTS_TALKING_TIMEOUT = 360002,
18 EZ_DEVICE_TTS_DEVICE_CONNECT_ERROR = 360003,
19 EZ_DEVICE_TTS_INTER_ERROR = 360004,
20 EZ_DEVICE_TTS_SEND_ERROR = 360005,
21 EZ_DEVICE_TTS_RECEIVE_ERROR = 360006,
22 EZ_DEVICE_TTS_CLOSE_CONNECT = 360007,
23 EZ_DEVICE_TTS_TALKING = 360010,
24 EZ_DEVICE_TTS_PRIVACY_PROTECT = 360013,
29 EZ_DEVICE_IS_PRIVACY_PROTECTING = 380011,
30 EZ_DEVICE_CONNECT_COUNT_LIMIT = 380045,
31 EZ_DEVICE_COMMAND_NOT_SUPPORT = 380047,
32 EZ_DEVICE_CAS_TALKING = 380077,
33 EZ_DEVICE_CAS_PARSE_ERROR = 380205,
34 EZ_PLAY_TIMEOUT = 380209,
35 EZ_DEVICE_TIMEOUT = 380212,
36 EZ_STREAM_CLIENT_TIMEOUT = 390038,
37 EZ_STREAM_CLIENT_NOT_FIND_FILE = 395402,
38 EZ_STREAM_CLIENT_OFFLINE = 395404,
39 EZ_STREAM_CLIENT_TOKEN_INVALID = 395406,
40 EZ_STREAM_CLIENT_PRIVACY_PROTECT = 395409,
41 EZ_STREAM_CLIENT_DEVICE_COUNT_LIMIT = 395410,
42 EZ_STREAM_CLIENT_TOKEN_LIMIT = 395411,
43 EZ_STREAM_CLIENT_CAMERANO_ERROR = 395415,
44 EZ_STREAM_CLIENT_TYPE_UNSUPPORT = 395451,
45 EZ_STREAM_CLIENT_CONNECT_SERVER_ERROR = 395452,
46 EZ_STREAM_CLIENT_SESSION_NOT_EXIST = 395454,
47 EZ_STREAM_CLIENT_SAME_REQUEST = 395491,
48 EZ_STREAM_CLIENT_INNER_ERROR = 395500,
49 EZ_STREAM_CLIENT_NO_SOURCE = 395544,
50 EZ_STREAM_CLIENT_VIDEO_OUT_SHARE_TIME = 395545,
51 EZ_STREAM_CLIENT_LIMIT = 395546,
52 EZ_STREAM_CLIENT_DEVICE_OUT_SHARE_TIME = 395600,
57 EZ_HTTPS_PARAM_ERROR = 110001,
58 EZ_HTTPS_ACCESS_TOKEN_INVALID = 110002,
59 EZ_HTTPS_ACCESS_TOKEN_EXPIRE = 110003,
60 EZ_HTTPS_REGIST_USER_NOT_EXSIT = 110004,
61 EZ_HTTPS_APPKEY_ERROR = 110005,
62 EZ_HTTPS_IP_LIMIT = 110006,
63 EZ_HTTPS_INVOKE_LIMIT = 110007,
64 EZ_HTTPS_USER_BINDED = 110012,
65 EZ_HTTPS_APPKEY_IS_NULL = 110017,
66 EZ_HTTPS_APPKEY_NOT_MATCHED = 110018,
67 EZ_HTTPS_CAMERA_NOT_EXISTS = 120001,
68 EZ_HTTPS_DEVICE_NOT_EXISTS = 120002,
69 EZ_HTTPS_DEVICE_NETWORK_ANOMALY = 120006,
70 EZ_HTTPS_DEVICE_OFFLINE = 120007,
71 EZ_HTTPS_DEIVCE_RESPONSE_TIMEOUT = 120008,
72 EZ_HTTPS_DEVICE_VALICATECODE_ERROR = 120010,
73 EZ_HTTPS_ILLEGAL_DEVICE_SERIAL = 120014,
74 EZ_HTTPS_DEVICE_STORAGE_FORMATTING = 120016,
75 EZ_HTTPS_DEVICE_ADDED_MYSELF = 120017,
76 EZ_HTTPS_USER_NOT_OWN_THIS_DEVICE = 120018,
77 EZ_HTTPS_DEVICE_UNSUPPORT_CLOUD = 120019,
78 EZ_HTTPS_DEVICE_ONLINE_ADDED = 120020,
79 EZ_HTTPS_DEVICE_ONLINE_NOT_ADDED = 120021,
80 EZ_HTTPS_DEVICE_ONLINE_IS_ADDED = 120022,
81 EZ_HTTPS_DEVICE_OFFLINE_NOT_ADDED = 120023,
82 EZ_HTTPS_DEVICE_OFFLINE_IS_ADDED = 120024,
83 EZ_HTTPS_DEVICE_OFFLINE_IS_ADDED_MYSELF = 120029,
84 EZ_HTTPS_DEVICE_BUNDEL_STATUS_ON = 120031,
85 EZ_HTTPS_OPERATE_LEAVE_MSG_FAIL = 120202,
86 EZ_HTTPS_SERVER_DATA_ERROR = 149999,
87 EZ_HTTPS_SERVER_ERROR = 150000,
88 EZ_HTTPS_DEVICE_PTZ_NOT_SUPPORT = 160000,
89 EZ_HTTPS_DEVICE_PTZ_NO_PERMISSION = 160001,
90 EZ_HTTPS_DEVICE_PTZ_UPPER_LIMIT = 160002,
91 EZ_HTTPS_DEVICE_PTZ_FLOOR_LIMIT = 160003,
92 EZ_HTTPS_DEVICE_PTZ_LEFT_LIMIT = 160004,
93 EZ_HTTPS_DEVICE_PTZ_RIGHT_LIMIT = 160005,
94 EZ_HTTPS_DEVICE_PTZ_FAILED = 160006,
95 EZ_HTTPS_DEVICE_PTZ_RESETING = 160009,
96 EZ_HTTPS_DEVICE_COMMAND_NOT_SUPPORT = 160020,
101 EZ_SDK_PARAM_ERROR = 400002,
102 EZ_SDK_NOT_SUPPORT_TALK = 400025,
103 EZ_SDK_TIMEOUT = 400034,
104 EZ_SDK_NEED_VALIDATECODE = 400035,
105 EZ_SDK_VALIDATECODE_NOT_MATCH = 400036,
106 EZ_SDK_DECODE_TIMEOUT = 400041,
107 EZ_SDK_STREAM_TIMEOUT = 400015,
108 EZ_SDK_PLAYBACK_STREAM_TIMEOUT = 400409,
112 typedef NS_ENUM(NSInteger, EZWifiConfigStatus) {
113 DEVICE_WIFI_CONNECTING = 1,
114 DEVICE_WIFI_CONNECTED = 2,
115 DEVICE_PLATFORM_REGISTED = 3,
116 DEVICE_ACCOUNT_BINDED = 4
120 typedef NS_OPTIONS(NSUInteger, EZPTZCommand) {
121 EZPTZCommandLeft = 1 << 0,
122 EZPTZCommandRight = 1 << 1,
123 EZPTZCommandUp = 1 << 2,
124 EZPTZCommandDown = 1 << 3,
125 EZPTZCommandZoomIn = 1 << 4,
126 EZPTZCommandZoomOut = 1 << 5,
132 typedef NS_OPTIONS(NSUInteger, EZDisplayCommand) {
133 EZDisplayCommandCenter = 1 << 0,
139 typedef NS_ENUM(NSInteger, EZPTZAction) {
140 EZPTZActionStart = 1,
145 typedef NS_ENUM(NSInteger, EZMessageStatus) {
146 EZMessageStatusRead = 1,
150 typedef NS_ENUM(NSInteger, EZMessageType)
152 EZMessageTypeAlarm = 1,
157 typedef NS_ENUM(NSInteger, EZLeaveMessageType)
159 EZLeaveMessageTypeAll,
160 EZLeaveMessageTypeVoice,
161 EZLeaveMessageTypeVideo,
165 typedef NS_ENUM(NSInteger, EZDefenceStatus) {
166 EZDefenceStatusOffOrSleep = 0,
167 EZDefenceStatusOn = 1,
168 EZDefenceStatusAtHome = 8,
169 EZDefenceStatusOuter = 16,
173 typedef NS_ENUM(NSInteger, EZVideoLevelType)
176 EZVideoLevelMiddle = 1,
177 EZVideoLevelHigh = 2,
178 EZVideoLevelSuperHigh = 3
Open Hik-Connect system constant.
Definition: EZConstants.h:182