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_SMART_TARGET_SNAP_IMG

### Structure Definition

C++C#

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    typedef struct _net_sdk_smart_target_snap_img_
    {
        DD_TIME_EX frameTime;
        unsigned int imgId;
        unsigned int chl;
        unsigned char pathGUID[48];
        unsigned int sectionNo;
        unsigned int fileIndex;
        unsigned int blockNo;
        unsigned int offset;
        unsigned int eventType;
        unsigned char isPanorama;
        unsigned char resv[7];
    } NET_SDK_SMART_TARGET_SNAP_IMG;

     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_SMART_TARGET_SNAP_IMG
    {
        public DD_TIME_EX frameTime;
        public UInt32 imgId;
        public UInt32 chl;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 48)]
        public byte[] pathGUID;
        public UInt32 sectionNo;
        public UInt32 fileIndex;
        public UInt32 blockNo;
        public UInt32 offset;
        public UInt32 eventType;
        public byte isPanorama;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 7)]
        public byte[] resv;
    }

### Function Description

Smart target screenshot information structure.

### Member Description

Member | Type | Remark
--- | --- | ---
frameTime | `DD_TIME_EX` | Frame time.
imgId | unsigned int | Image ID.
chl | unsigned int | Screenshot channel, starting from 0, return value 255 indicates the channel has been deleted.
pathGUID | unsigned char[48] | The storage GUID where the data is located
sectionNo | unsigned int | Chapter number.
fileIndex | unsigned int | Video file index.
blockNo | unsigned int | Block number.
offset | unsigned int | Offset.
eventType | unsigned int | Event type, see `DD_EVENT_TYPE`.
isPanorama | unsigned char | Whether it is a panoramic image, 0: snapshot, 1: panoramic image.
resv | unsigned char[7] | Reserved field.

Error Code