提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.netsdk.lib.structure; |
H |
2 |
|
|
3 |
import com.iailab.netsdk.lib.NetSDKLib; |
|
4 |
import com.sun.jna.Pointer; |
|
5 |
|
|
6 |
/** |
|
7 |
* {@link NetSDKLib#CLIENT_AttachCameraState} 输入参数 |
|
8 |
* {@link NET_OUT_CAMERASTATE} 对应接口出参 |
|
9 |
* |
|
10 |
* @author : 47040 |
|
11 |
* @since : Created in 2021/1/15 14:03 |
|
12 |
*/ |
|
13 |
public class NET_IN_CAMERASTATE extends NetSDKLib.SdkStructure { |
|
14 |
|
|
15 |
/** |
|
16 |
* 结构体大小 |
|
17 |
*/ |
|
18 |
public int dwSize; |
|
19 |
/** |
|
20 |
* int*[] |
|
21 |
* 由用户申请内存,大小为sizeof(int)*nChannels |
|
22 |
* 观察的通道号,数组元素中,有一个是-1,则观察所有通道 |
|
23 |
*/ |
|
24 |
public Pointer pChannels; |
|
25 |
/** |
|
26 |
* pChannels指针长度 |
|
27 |
*/ |
|
28 |
public int nChannels; |
|
29 |
/** |
|
30 |
* 状态回调函数 |
|
31 |
*/ |
|
32 |
public NetSDKLib.fCameraStateCallBack cbCamera; |
|
33 |
/** |
|
34 |
* 用户数据 |
|
35 |
*/ |
|
36 |
public Pointer dwUser; |
|
37 |
|
|
38 |
public NET_IN_CAMERASTATE() { |
|
39 |
this.dwSize = this.size(); |
|
40 |
} |
|
41 |
|
|
42 |
} |