Skip to content
This SDK only works with devices released within the past 3 years. We regularly optimize and update the SDK to ensure compatibility and performance. We do not guarantee compatibility or provide technical support for devices older than 3 years.

# NET_SDK_IVE_BINOCULARCOUNT_INFO_T

### Structure Definition

C++C#

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    typedef struct
    {
        unsigned int eventId;
        unsigned char status;
        unsigned char eventDirection;
        unsigned char type;
        unsigned char targetType;
        unsigned int targetId;
        RECT_16 rect;
        unsigned int ruleId;
    }NET_SDK_IVE_BINOCULARCOUNT_INFO_T;

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    [StructLayout(LayoutKind.Sequential, Pack = 4)]
    public struct NET_SDK_IVE_BINOCULARCOUNT_INFO_T
    {
        public UInt32 eventId;
        public byte status;
        public byte eventDirection;
        public byte type;
        public byte targetType;
        public UInt32 targetId;
        public RECT_16 rect;
        public UInt32 ruleId;
    }

### Function Description

Binocular statistical event information.

### Member Description

Member | Type | Remark
--- | --- | ---
eventId | unsigned int | Event ID
status | unsigned char | Alarm status, 0:none, 1:start, 2:end, 3:procedure
eventDirection | unsigned char | Event direction, 1: enter, 2: leave
type | unsigned char | Alarm Type
targetType | unsigned char | 1: Adult, 2: Child
targetId | unsigned int | Target ID
rect | `RECT_16` | Target rectangle
ruleId | unsigned int | Rule ID

Error Code