提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.netsdk.lib.structure; |
H |
2 |
|
|
3 |
import com.iailab.netsdk.lib.NetSDKLib; |
|
4 |
import com.iailab.netsdk.lib.enumeration.EM_REAL_DATA_TYPE; |
|
5 |
import com.sun.jna.Pointer; |
|
6 |
|
|
7 |
/** |
|
8 |
* 自适应下载录像 按时间 {@link NetSDKLib#CLIENT_AdaptiveDownloadByTime} 入参 出参 |
|
9 |
* {@link NET_OUT_ADAPTIVE_DOWNLOAD_BY_TIME} |
|
10 |
* |
|
11 |
* @author 47040 |
|
12 |
* @since Created at 2021/6/19 18:35 |
|
13 |
*/ |
|
14 |
public class NET_IN_ADAPTIVE_DOWNLOAD_BY_TIME extends NetSDKLib.SdkStructure { |
|
15 |
|
|
16 |
/** |
|
17 |
* 结构体大小 |
|
18 |
*/ |
|
19 |
public int dwSize; |
|
20 |
/** |
|
21 |
* 通道号 |
|
22 |
*/ |
|
23 |
public int nChannelID; |
|
24 |
/** |
|
25 |
* 录像类型枚举值 {@link NetSDKLib.EM_QUERY_RECORD_TYPE} |
|
26 |
*/ |
|
27 |
public int emRecordType; |
|
28 |
/** |
|
29 |
* 下载的文件路径 |
|
30 |
*/ |
|
31 |
public Pointer szSavedFileName; |
|
32 |
/** |
|
33 |
* 开始时间 |
|
34 |
*/ |
|
35 |
public NetSDKLib.NET_TIME stStartTime; |
|
36 |
/** |
|
37 |
* 结束时间 |
|
38 |
*/ |
|
39 |
public NetSDKLib.NET_TIME stStopTime; |
|
40 |
/** |
|
41 |
* 进度回调 |
|
42 |
*/ |
|
43 |
public NetSDKLib.fTimeDownLoadPosCallBack cbDownLoadPos; |
|
44 |
/** |
|
45 |
* 进度回调用户信息 |
|
46 |
*/ |
|
47 |
public Pointer dwPosUser; |
|
48 |
/** |
|
49 |
* 数据回调 |
|
50 |
*/ |
|
51 |
public NetSDKLib.fDataCallBack fDownLoadDataCallBack; |
|
52 |
/** |
|
53 |
* 回调的数据类型 枚举值 {@link EM_REAL_DATA_TYPE} |
|
54 |
*/ |
|
55 |
public int emDataType; |
|
56 |
/** |
|
57 |
* 数据回调用户信息 |
|
58 |
*/ |
|
59 |
public Pointer dwDataUser; |
|
60 |
/** |
|
61 |
* 加密录像密码,密码长度不小于8 |
|
62 |
*/ |
|
63 |
public byte[] szEncryptPasswd = new byte[64]; |
|
64 |
|
|
65 |
/** |
|
66 |
* 为TRUE表示仅下发stuStartTimeRealUTC和stuEndTimeRealUTC(不下发stStartTime, stStopTime), |
|
67 |
* 为FALSE表示仅下发stStartTime, stStopTime(不下发stuStartTimeRealUTC和stuEndTimeRealUTC) |
|
68 |
*/ |
|
69 |
public int bOnlySupportRealUTC; |
|
70 |
/** |
|
71 |
* 录像的起始UTC时间(标准UTC时间) |
|
72 |
*/ |
|
73 |
public NET_TIME stuStartTimeRealUTC = new NET_TIME(); |
|
74 |
/** |
|
75 |
* 录像的结束UTC时间(标准UTC时间) |
|
76 |
*/ |
|
77 |
public NET_TIME stuEndTimeRealUTC = new NET_TIME(); |
|
78 |
/** |
|
79 |
* 进度回调的扩展(若使用标准UTC时间进行下载,则使用该回调) |
|
80 |
*/ |
|
81 |
public NetSDKLib.fTimeDownLoadPosCallBackEx cbDownLoadPosEx; |
|
82 |
/** |
|
83 |
* VK信息回调 |
|
84 |
*/ |
|
85 |
public NetSDKLib.fVKInfoCallBack pVKInfoCallBack; |
|
86 |
/** |
|
87 |
* VK信息回调用户信息 |
|
88 |
*/ |
|
89 |
public Pointer dwVKInfoUser; |
|
90 |
/** |
|
91 |
* 是否同步返回错误码 |
|
92 |
*/ |
|
93 |
public int bWait; |
|
94 |
|
|
95 |
public NET_IN_ADAPTIVE_DOWNLOAD_BY_TIME() { |
|
96 |
dwSize = this.size(); |
|
97 |
} |
|
98 |
|
|
99 |
} |