+ (BOOL) activeDeviceWithSerial: |
|
(NSString *) |
serial |
pwd: |
|
(NSString *) |
pwd |
|
|
| |
Activating device, you cannot activate the device when calling stopLocalSearch
- Parameters
-
serial | Device serial No. |
pwd | Activation password |
- Returns
- Succeeded or failed
+ (EZHCNetDeviceInfo*) loginDeviceWithUerName: |
|
(NSString *) |
userName |
pwd: |
|
(NSString *) |
pwd |
ipAddr: |
|
(NSString *) |
ipAddr |
port: |
|
(NSInteger) |
port |
|
|
| |
Device logging in LAN
- Parameters
-
userName | User name |
pwd | Password |
ipAddr | device ip address |
port | device port |
- Returns
- login failed will return nil
+ (BOOL) logoutDeviceWithUserId: |
|
(NSInteger) |
userId |
|
Device logging out LAN
- Parameters
-
- Returns
- Succeeded or failed
+ (BOOL) ptzControlWithUserId: |
|
(NSInteger) |
userId |
channelNo: |
|
(NSInteger) |
channelNo |
command: |
|
(EZPTZCommandType) |
command |
action: |
|
(EZPTZActionType) |
action |
|
|
| |
PTZ control API of LAN device
- Parameters
-
userId | User ID |
channelNo | Channel No. |
command | Command type EZPTZCommandType |
action | Action type EZPTZActionType |
- Returns
- Succeeded or failed
Result is clear and research, on the condition that the search is enabled
+ (BOOL) setEncryptType: |
|
(EZEncryptType) |
encryptType |
|
Configuring encryption method
- Parameters
-
encryptType | Encryption method |
- Returns
- Succeeded or failed
+ (BOOL) startLocalSearch: |
|
(void(^)(EZSADPDeviceInfo *device, NSError *error)) |
searchCallback |
|
Start searching LAN device
- Parameters
-
searchCallback | Search result callback, used for searching device, device information:EZSADPDeviceInfo |
- Returns
- Succeeded or failed
Stop searching
- Returns
- Succeeded or failed
The documentation for this class was generated from the following file: