Documentation
¶
Index ¶
- Constants
- Variables
- func HikCaptureImage(user int, byStartChan int, imagePath string) int
- func HikLogout(user int)
- func HikOnAlarm(user int, alarmPort int, f OnMsg)
- func HikOnAlarmV30(user int, alarmPort int, f OnMsg)
- func HikReboot(user int) int
- func HikSaveFile(userId int, srcfile string, destfile string) int
- func HikTest()
- func HikVersion() string
- type AlarmItem
- type DevInfo
- type MotionArea
- type MotionAreas
- type MotionVideo
- type MotionVideos
- type OnMsg
Constants ¶
View Source
const COMM_ALARM int = 0x1100 //8000 Upload alarm message
View Source
const COMM_ALARM_V30 int = 0x4000 //9000 upload alarm message
View Source
const COMM_DEV_STATUS_CHANGED int = 0x7000 //Device status change alarm upload
Variables ¶
View Source
var Listeners []OnMsg
Functions ¶
func HikCaptureImage ¶
int HCaptureImage(int lUserID, int byStartChan, char *imagePath);
func HikOnAlarm ¶
C.OnAlarm(C.int(user), C.int(*alarmParam))
func HikOnAlarmV30 ¶
C.OnAlarmV30(C.int(user), C.int(*alarmParam))
func HikSaveFile ¶
int HSaveFile(int userId, char *srcfile, char *destfile);
Types ¶
type MotionAreas ¶
type MotionAreas struct {
Areas []MotionArea
}
func HikMotionArea ¶
func HikMotionArea(lUserID int) (int, MotionAreas)
int HMotionArea(int lUserID, struct MotionAreas *areas);
type MotionVideo ¶
type MotionVideos ¶
type MotionVideos struct {
Videos []MotionVideo
Count int
}
func HikListVideo ¶
func HikListVideo(lUserID int) (int, MotionVideos)
int HListVideo(int lUserID, struct MotionVideos *videos);
Click to show internal directories.
Click to hide internal directories.