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_EvenTargetData_T

### Structure Definition

C++C#

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    typedef struct
    {
        int targetId;
        unsigned int type;
        unsigned int status;
        unsigned int width;
        unsigned int height;
        NET_SDK_IVE_RECT_T pos;
        unsigned int dataLen;
        unsigned char targetType;
        unsigned char reserved[3];
        LONGLONG absolutePts;
        unsigned char reserved1[44];
    } NET_SDK_IVE_EvenTargetData_T;

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    17
    [StructLayout(LayoutKind.Sequential, Pack = 4)]
    public struct NET_SDK_IVE_EvenTargetData_T
    {
        public Int32 targetId;
        public UInt32 type;
        public UInt32 status;
        public UInt32 width;
        public UInt32 height;
        public NET_SDK_IVE_RECT_T pos;
        public UInt32 dataLen;
        public byte targetType;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 3)]
        public byte[] reserved;
        public Int64 absolutePts;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 44)]
        public byte[] reserved1;
    }

### Function Description

Event data target graph structure.

### Member Description

Member | Type | Remark
--- | --- | ---
targetId | int | Target ID.
type | unsigned int | Target image encoding type, 0: JPG; 1: YUV.
status | unsigned int | Target graph status, 0: INVALID; 1: VALID; 2: SAVED.
width | unsigned int | Image width.
height | unsigned int | Image height.
pos | `NET_SDK_IVE_RECT_T` | The target rectangle.
dataLen | unsigned int | Image data length.
targetType | unsigned char | Target type.
reserved | unsigned char[3] | Reserved field.
absolutePts | LONGLONG | Absolute timestamp
reserved1 | unsigned char[44] | Reserved field.

Error Code