| 程序包 | 说明 |
|---|---|
| com.github.lkqm.hcnet |
| 限定符和类型 | 方法和说明 |
|---|---|
HikResult |
HikDevice.adjustTime(Date time) |
HikResult |
DeviceOptions.adjustTime(Date time)
设备校时.
|
HikResult |
HikDeviceTemplate.adjustTime(long userId,
Date time)
设备校时
|
HikResult |
HikDevice.doAction(Function<Token,HikResult> action) |
HikResult |
DeviceOptions.doAction(Function<Token,HikResult> action)
执行动作.
|
HikResult |
HikDeviceTemplate.doAction(String ip,
int port,
String user,
String password,
Function<Token,HikResult> action)
执行动作
|
static <T> HikResult<T> |
HikResult.fail(int code,
String msg) |
<T extends com.sun.jna.Structure> |
HikDevice.getDvrConfig(long channel,
int command,
Class<T> clazz) |
<T extends com.sun.jna.Structure> |
DeviceOptions.getDvrConfig(long channel,
int command,
Class<T> clazz)
获取设备配置.
|
<T extends com.sun.jna.Structure> |
HikDeviceTemplate.getDvrConfig(long userId,
long channel,
int command,
Class<T> clazz)
获取设备配置数据.
|
HikResult |
HikDeviceTemplate.getDvrConfig(long userId,
long channel,
int command,
com.sun.jna.Structure data)
获取设备配置数据.
|
HikResult |
HikDevice.init() |
HikResult |
DeviceOptions.init()
初始化.
|
HikResult |
HikDeviceTemplate.lastError()
获取最后的错误的执行结果
|
HikResult<Token> |
HikDeviceTemplate.login(String ip,
int port,
String user,
String password)
登录设备
|
HikResult |
HikDeviceTemplate.logout(long userId)
注销登录
|
HikResult |
HikDeviceTemplate.modifyPassword(long userId,
String username,
String newPassword)
修改设备密码.
|
HikResult |
HikDevice.modifyPassword(String targetUser,
String newPassword) |
HikResult |
DeviceOptions.modifyPassword(String targetUser,
String newPassword)
修改指定用户密码.
|
HikResult |
HikDeviceTemplate.nvrRebindChannels(long userId,
String dvrUsername,
String dvrNewPassword)
NVR重新绑定通道, 抓拍机修改密码后需要重新绑定.
|
static HikResult<?> |
HikResult.ok() |
static <T> HikResult<T> |
HikResult.ok(T data) |
HikResult<String> |
HikDeviceTemplate.passThrough(long userId,
String url,
String input)
设备透传, 实现数据获取或配置修改.
|
HikResult<String> |
HikDevice.passThrough(String url,
String data) |
HikResult<String> |
DeviceOptions.passThrough(String url,
String data)
透传.
|
HikResult |
HikDevice.ptzControl(int command,
int stop,
int speed) |
HikResult |
DeviceOptions.ptzControl(int command,
int stop,
int speed)
云台控制.
|
HikResult |
HikDeviceTemplate.ptzControl(long userId,
int command,
int stop,
int speed)
云台控制.
|
HikResult |
DeviceTemplateOptions.ptzControl(long userId,
int command,
int stop,
int speed)
云台控制.
|
HikResult |
HikDevice.ptzControlStart(int command,
int speed) |
HikResult |
DeviceOptions.ptzControlStart(int command,
int speed)
云台控制开始
|
HikResult |
HikDeviceTemplate.ptzControlStart(long userId,
int command,
int speed)
云台控制开始
|
HikResult |
DeviceTemplateOptions.ptzControlStart(long userId,
int command,
int speed)
云台控制开始
|
HikResult |
HikDevice.ptzControlStop(int command,
int speed) |
HikResult |
DeviceOptions.ptzControlStop(int command,
int speed)
云台控制停止
|
HikResult |
HikDeviceTemplate.ptzControlStop(long userId,
int command,
int speed)
云台控制停止
|
HikResult |
DeviceTemplateOptions.ptzControlStop(long userId,
int command,
int speed)
云台控制停止
|
HikResult |
HikDevice.ptzCruise(int cruiseCommand,
int cruiseRoute,
int cruisePoint,
int speed) |
HikResult |
DeviceOptions.ptzCruise(int cruiseCommand,
int cruiseRoute,
int cruisePoint,
int speed)
云台巡航。
|
HikResult |
HikDeviceTemplate.ptzCruise(long userId,
int cruiseCommand,
int cruiseRoute,
int cruisePoint,
int speed)
云台巡航。
|
HikResult |
DeviceTemplateOptions.ptzCruise(long userId,
int cruiseCommand,
int cruiseRoute,
int cruisePoint,
int speed)
云台巡航。
|
HikResult |
HikDevice.ptzCruiseFillPreset(int cruiseRoute,
int cruisePoint,
int speed) |
HikResult |
DeviceOptions.ptzCruiseFillPreset(int cruiseRoute,
int cruisePoint,
int speed)
云台巡航添加点位.
|
HikResult |
HikDeviceTemplate.ptzCruiseFillPreset(long userId,
int cruiseRoute,
int cruisePoint,
int speed)
云台巡航添加点位.
|
HikResult |
DeviceTemplateOptions.ptzCruiseFillPreset(long userId,
int cruiseRoute,
int cruisePoint,
int speed)
云台巡航添加点位.
|
HikResult |
HikDevice.ptzCruiseRun(int cruiseRoute) |
HikResult |
DeviceOptions.ptzCruiseRun(int cruiseRoute)
云台巡航运行.
|
HikResult |
HikDeviceTemplate.ptzCruiseRun(long userId,
int cruiseRoute)
云台巡航运行.
|
HikResult |
DeviceTemplateOptions.ptzCruiseRun(long userId,
int cruiseRoute)
云台巡航运行.
|
HikResult |
HikDevice.ptzCruiseStop(int cruiseRoute) |
HikResult |
DeviceOptions.ptzCruiseStop(int cruiseRoute)
云台巡航运行.
|
HikResult |
HikDeviceTemplate.ptzCruiseStop(long userId,
int cruiseRoute)
云台巡航运行.
|
HikResult |
DeviceTemplateOptions.ptzCruiseStop(long userId,
int cruiseRoute)
云台巡航运行.
|
HikResult |
HikDevice.ptzPreset(int presetCommand,
int presetIndex) |
HikResult |
DeviceOptions.ptzPreset(int presetCommand,
int presetIndex)
云台点位控制.
|
HikResult |
HikDeviceTemplate.ptzPreset(long userId,
int presetCommand,
int presetIndex)
云台点位控制.
|
HikResult |
DeviceTemplateOptions.ptzPreset(long userId,
int presetCommand,
int presetIndex)
云台点位控制.
|
HikResult |
HikDevice.ptzPresetClean(int presetIndex) |
HikResult |
DeviceOptions.ptzPresetClean(int presetIndex)
云台点位清除.
|
HikResult |
HikDeviceTemplate.ptzPresetClean(long userId,
int presetIndex)
云台点位清除.
|
HikResult |
DeviceTemplateOptions.ptzPresetClean(long userId,
int presetIndex)
云台点位清除.
|
HikResult |
HikDevice.ptzPresetGoto(int presetIndex) |
HikResult |
DeviceOptions.ptzPresetGoto(int presetIndex)
云台点位跳转.
|
HikResult |
HikDeviceTemplate.ptzPresetGoto(long userId,
int presetIndex)
云台点位跳转.
|
HikResult |
DeviceTemplateOptions.ptzPresetGoto(long userId,
int presetIndex)
云台点位跳转.
|
HikResult |
HikDevice.ptzPresetSet(int presetIndex) |
HikResult |
DeviceOptions.ptzPresetSet(int presetIndex)
云台点位设置.
|
HikResult |
HikDeviceTemplate.ptzPresetSet(long userId,
int presetIndex)
云台点位设置.
|
HikResult |
DeviceTemplateOptions.ptzPresetSet(long userId,
int presetIndex)
云台点位设置.
|
HikResult |
HikDevice.ptzTrack(int trackCommand) |
HikResult |
DeviceOptions.ptzTrack(int trackCommand)
云台轨迹操作。
|
HikResult |
HikDeviceTemplate.ptzTrack(long userId,
int trackCommand)
云台轨迹操作。
|
HikResult |
DeviceTemplateOptions.ptzTrack(long userId,
int trackCommand)
云台轨迹操作。
|
HikResult |
HikDevice.ptzTrackRun() |
HikResult |
DeviceOptions.ptzTrackRun()
云台轨迹运行.
|
HikResult |
HikDeviceTemplate.ptzTrackRun(long userId)
云台轨迹运行.
|
HikResult |
DeviceTemplateOptions.ptzTrackRun(long userId)
云台轨迹运行.
|
HikResult |
HikDevice.ptzTrackStartRecord() |
HikResult |
DeviceOptions.ptzTrackStartRecord()
云台轨迹开始记录.
|
HikResult |
HikDeviceTemplate.ptzTrackStartRecord(long userId)
云台轨迹开始记录.
|
HikResult |
DeviceTemplateOptions.ptzTrackStartRecord(long userId)
云台轨迹开始记录.
|
HikResult |
HikDevice.ptzTrackStopRecord() |
HikResult |
DeviceOptions.ptzTrackStopRecord()
云台轨迹停止记录.
|
HikResult |
HikDeviceTemplate.ptzTrackStopRecord(long userId)
云台轨迹停止记录.
|
HikResult |
DeviceTemplateOptions.ptzTrackStopRecord(long userId)
云台轨迹停止记录.
|
HikResult |
HikDevice.ptzZoom(int xTop,
int yTop,
int xBottom,
int yBottom) |
HikResult |
DeviceOptions.ptzZoom(int xTop,
int yTop,
int xBottom,
int yBottom)
云台图像缩放.
|
HikResult |
HikDeviceTemplate.ptzZoom(long userId,
int xTop,
int yTop,
int xBottom,
int yBottom)
云台图像缩放.
|
HikResult<Long> |
HikDeviceTemplate.realPlay(long userId,
HCNetSDK.FRealDataCallBack_V30 callback)
设置视频实时预览
|
HikResult<Long> |
HikDeviceTemplate.realPlay(long userId,
HCNetSDK.NET_DVR_PREVIEWINFO previewInfo,
HCNetSDK.FRealDataCallBack_V30 callback)
设置实时预览
|
HikResult |
HikDevice.reboot() |
HikResult |
DeviceOptions.reboot()
重启设备.
|
HikResult |
HikDeviceTemplate.reboot(long userId)
重启设备.
|
HikResult |
HikDevice.setDvrConfig(long channel,
int type,
com.sun.jna.Structure settings) |
HikResult |
DeviceOptions.setDvrConfig(long channel,
int command,
com.sun.jna.Structure settings)
设置设备配置.
|
HikResult |
HikDeviceTemplate.setDvrConfig(long userId,
long channel,
int command,
com.sun.jna.Structure data)
设置设备配置数据.
|
HikResult<Long> |
HikDevice.setupDeploy(HCNetSDK.FMSGCallBack messageCallback,
HCNetSDK.FExceptionCallBack exceptionCallback) |
HikResult<Long> |
DeviceOptions.setupDeploy(HCNetSDK.FMSGCallBack messageCallback,
HCNetSDK.FExceptionCallBack exceptionCallback)
布防.
|
HikResult<Long> |
HikDeviceTemplate.setupDeploy(long userId,
HCNetSDK.FMSGCallBack messageCallback,
HCNetSDK.FExceptionCallBack exceptionCallback)
布防.
|
HikResult |
HikDeviceTemplate.stopRealPlay(long realHandle)
停止实时预览
|
HikResult<UpgradeAsyncResponse> |
HikDeviceTemplate.upgradeAsync(long userId,
String sdkFile)
升级设备.
|
HikResult<UpgradeAsyncResponse> |
HikDevice.upgradeAsync(String sdkFile) |
HikResult<UpgradeAsyncResponse> |
DeviceOptions.upgradeAsync(String sdkFile)
升级设备(异步),注意升级完成后需要手动重启
|
HikResult<UpgradeResponse> |
HikDeviceTemplate.upgradeSync(long userId,
String sdkFile)
升级设备同步
|
HikResult<UpgradeResponse> |
HikDevice.upgradeSync(String sdkFile) |
HikResult<UpgradeResponse> |
DeviceOptions.upgradeSync(String sdkFile)
升级设备(同步),注意升级完成后需要手动重启
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
HikResult.set(HikResult data) |
| 限定符和类型 | 方法和说明 |
|---|---|
HikResult |
HikDevice.doAction(Function<Token,HikResult> action) |
HikResult |
DeviceOptions.doAction(Function<Token,HikResult> action)
执行动作.
|
HikResult |
HikDeviceTemplate.doAction(String ip,
int port,
String user,
String password,
Function<Token,HikResult> action)
执行动作
|
Copyright © 2020. All rights reserved.