9 #import <Foundation/Foundation.h>
21 - (void) ezvizLoginResult:(BOOL) result;
26 typedef NS_ENUM(NSInteger, EZErrorCode) {
30 EZ_DEVICE_TTS_REQUEST_TIMEOUT = 360001,
31 EZ_DEVICE_TTS_TALKING_TIMEOUT = 360002,
32 EZ_DEVICE_TTS_DEVICE_CONNECT_ERROR = 360003,
33 EZ_DEVICE_TTS_INTER_ERROR = 360004,
34 EZ_DEVICE_TTS_SEND_ERROR = 360005,
35 EZ_DEVICE_TTS_RECEIVE_ERROR = 360006,
36 EZ_DEVICE_TTS_CLOSE_CONNECT = 360007,
37 EZ_DEVICE_TTS_TALKING = 360010,
38 EZ_DEVICE_TTS_PRIVACY_PROTECT = 360013,
39 EZ_DEVICE_TTS_INIT_ERROR = 360102,
45 EZ_DEVICE_IS_PRIVACY_PROTECTING = 380011,
46 EZ_DEVICE_CONNECT_COUNT_LIMIT = 380045,
47 EZ_DEVICE_COMMAND_NOT_SUPPORT = 380047,
48 EZ_DEVICE_CAS_TALKING = 380077,
49 EZ_DEVICE_CAS_REC_ERROR = 380102,
50 EZ_DEVICE_CAS_PARSE_ERROR = 380205,
51 EZ_PLAY_TIMEOUT = 380209,
52 EZ_DEVICE_TIMEOUT = 380212,
53 EZ_STREAM_CLIENT_TIMEOUT = 390038,
54 EZ_STREAM_CLIENT_NOT_FIND_FILE = 395402,
55 EZ_STREAM_CLIENT_OFFLINE = 395404,
56 EZ_STREAM_CLIENT_TOKEN_INVALID = 395406,
57 EZ_STREAM_CLIENT_PRIVACY_PROTECT = 395409,
58 EZ_STREAM_CLIENT_DEVICE_COUNT_LIMIT = 395410,
59 EZ_STREAM_CLIENT_TOKEN_LIMIT = 395411,
60 EZ_STREAM_CLIENT_CAMERANO_ERROR = 395415,
61 EZ_STREAM_CLIENT_TYPE_UNSUPPORT = 395451,
62 EZ_STREAM_CLIENT_CONNECT_SERVER_ERROR = 395452,
63 EZ_STREAM_CLIENT_SESSION_NOT_EXIST = 395454,
64 EZ_STREAM_CLIENT_SAME_REQUEST = 395491,
65 EZ_STREAM_CLIENT_INNER_ERROR = 395500,
66 EZ_STREAM_CLIENT_NO_SOURCE = 395544,
67 EZ_STREAM_CLIENT_VIDEO_OUT_SHARE_TIME = 395545,
68 EZ_STREAM_CLIENT_LIMIT = 395546,
69 EZ_STREAM_CLIENT_DEVICE_OUT_SHARE_TIME = 395600,
74 EZ_HTTPS_PARAM_ERROR = 110001,
75 EZ_HTTPS_ACCESS_TOKEN_INVALID = 110002,
76 EZ_HTTPS_ACCESS_TOKEN_EXPIRE = 110003,
77 EZ_HTTPS_REGIST_USER_NOT_EXSIT = 110004,
78 EZ_HTTPS_APPKEY_ERROR = 110005,
79 EZ_HTTPS_IP_LIMIT = 110006,
80 EZ_HTTPS_INVOKE_LIMIT = 110007,
81 EZ_HTTPS_USER_BINDED = 110012,
82 EZ_HTTPS_APPKEY_IS_NULL = 110017,
83 EZ_HTTPS_APPKEY_NOT_MATCHED = 110018,
84 EZ_HTTPS_CAMERA_NOT_EXISTS = 120001,
85 EZ_HTTPS_DEVICE_NOT_EXISTS = 120002,
86 EZ_HTTPS_DEVICE_NETWORK_ANOMALY = 120006,
87 EZ_HTTPS_DEVICE_OFFLINE = 120007,
88 EZ_HTTPS_DEIVCE_RESPONSE_TIMEOUT = 120008,
89 EZ_HTTPS_DEVICE_VALICATECODE_ERROR = 120010,
90 EZ_HTTPS_ILLEGAL_DEVICE_SERIAL = 120014,
91 EZ_HTTPS_DEVICE_STORAGE_FORMATTING = 120016,
92 EZ_HTTPS_DEVICE_ADDED_MYSELF = 120017,
93 EZ_HTTPS_USER_NOT_OWN_THIS_DEVICE = 120018,
94 EZ_HTTPS_DEVICE_UNSUPPORT_CLOUD = 120019,
95 EZ_HTTPS_DEVICE_ONLINE_ADDED = 120020,
96 EZ_HTTPS_DEVICE_ONLINE_NOT_ADDED = 120021,
97 EZ_HTTPS_DEVICE_ONLINE_IS_ADDED = 120022,
98 EZ_HTTPS_DEVICE_OFFLINE_NOT_ADDED = 120023,
99 EZ_HTTPS_DEVICE_OFFLINE_IS_ADDED = 120024,
100 EZ_HTTPS_DEVICE_OFFLINE_IS_ADDED_MYSELF = 120029,
101 EZ_HTTPS_DEVICE_BUNDEL_STATUS_ON = 120031,
102 EZ_HTTPS_OPERATE_LEAVE_MSG_FAIL = 120202,
103 EZ_HTTPS_SERVER_DATA_ERROR = 149999,
104 EZ_HTTPS_SERVER_ERROR = 150000,
105 EZ_HTTPS_DEVICE_PTZ_NOT_SUPPORT = 160000,
106 EZ_HTTPS_DEVICE_PTZ_NO_PERMISSION = 160001,
107 EZ_HTTPS_DEVICE_PTZ_UPPER_LIMIT = 160002,
108 EZ_HTTPS_DEVICE_PTZ_FLOOR_LIMIT = 160003,
109 EZ_HTTPS_DEVICE_PTZ_LEFT_LIMIT = 160004,
110 EZ_HTTPS_DEVICE_PTZ_RIGHT_LIMIT = 160005,
111 EZ_HTTPS_DEVICE_PTZ_FAILED = 160006,
112 EZ_HTTPS_DEVICE_PTZ_RESETING = 160009,
113 EZ_HTTPS_DEVICE_COMMAND_NOT_SUPPORT = 160020,
118 EZ_SDK_PARAM_ERROR = 400002,
119 EZ_SDK_NOT_SUPPORT_TALK = 400025,
120 EZ_SDK_TIMEOUT = 400034,
121 EZ_SDK_NEED_VALIDATECODE = 400035,
122 EZ_SDK_VALIDATECODE_NOT_MATCH = 400036,
123 EZ_SDK_DECODE_TIMEOUT = 400041,
124 EZ_SDK_STREAM_TIMEOUT = 400015,
125 EZ_SDK_PLAYBACK_STREAM_TIMEOUT = 400409,
130 EZ_NPC_CLIENT_PARAMETER_ERROR = 500001,
131 EZ_NPC_CLIENT_ORDER_ERROR = 500002,
132 EZ_NPC_CLIENT_MEMORY_ERROR = 500003,
133 EZ_NPC_CLIENT_BUFFER_OVERFLOW_ERROR = 500004,
134 EZ_NPC_CLIENT_SYSTEM_NO_SUPPORT_ERROR = 500005,
135 EZ_NPC_CLIENT_INVALID_PORT_ERROR = 500006,
136 EZ_NPC_CLIENT_STREAM_CLOSE_ERROR = 500101,
137 EZ_NPC_CLIENT_TRACK_CLOSE_ERROR = 500102,
138 EZ_NPC_CLIENT_NPCCREATE_ERROR = 500103,
139 EZ_NPC_CLIENT_TRSCREATE_ERROR = 500104,
140 EZ_NPC_CLIENT_FAIL_UNKNOWN_ERROR = 509999,
144 typedef NS_ENUM(NSInteger, EZWifiConfigStatus) {
145 DEVICE_WIFI_CONNECTING = 1,
146 DEVICE_WIFI_CONNECTED = 2,
147 DEVICE_PLATFORM_REGISTED = 3,
148 DEVICE_ACCOUNT_BINDED = 4
152 typedef NS_OPTIONS(NSUInteger, EZPTZCommand) {
153 EZPTZCommandLeft = 1 << 0,
154 EZPTZCommandRight = 1 << 1,
155 EZPTZCommandUp = 1 << 2,
156 EZPTZCommandDown = 1 << 3,
157 EZPTZCommandZoomIn = 1 << 4,
158 EZPTZCommandZoomOut = 1 << 5,
164 typedef NS_OPTIONS(NSUInteger, EZDisplayCommand) {
165 EZDisplayCommandCenter = 1 << 0,
171 typedef NS_ENUM(NSInteger, EZPTZAction) {
172 EZPTZActionStart = 1,
177 typedef NS_ENUM(NSInteger, EZMessageStatus) {
178 EZMessageStatusRead = 1,
182 typedef NS_ENUM(NSInteger, EZMessageType)
184 EZMessageTypeAlarm = 1,
189 typedef NS_ENUM(NSInteger, EZLeaveMessageType)
191 EZLeaveMessageTypeAll,
192 EZLeaveMessageTypeVoice,
193 EZLeaveMessageTypeVideo,
197 typedef NS_ENUM(NSInteger, EZDefenceStatus) {
198 EZDefenceStatusOffOrSleep = 0,
199 EZDefenceStatusOn = 1,
200 EZDefenceStatusAtHome = 8,
201 EZDefenceStatusOuter = 16,
205 typedef NS_ENUM(NSInteger, EZVideoLevelType)
208 EZVideoLevelMiddle = 1,
209 EZVideoLevelHigh = 2,
210 EZVideoLevelSuperHigh = 3
214 typedef NS_ENUM(NSInteger, EZAppType)
217 EZEzvizInternational = 1,
222 typedef NS_ENUM(NSInteger, EZAppPageType)
224 EZPageDeviceList = 0,
229 typedef NS_ENUM(NSInteger, EZWiFiConfigMode)
231 EZWiFiConfigSmart = 1 << 0,
232 EZWiFiConfigWave = 1 << 1,
236 extern const NSNotificationName EZNeedReloginNotification;
239 extern const NSString *EZErrorSolutionKey;
242 extern const NSString *EZErrorModuleCodeKey;
Definition: EZConstants.h:12
开放平台常量类
Definition: EZConstants.h:245