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_REC_EVENT

### Structure Definition

C++C#

    1
    2
    3
    4
    5
    6
    7
    typedef struct _net_sdk_rec_event
    {
        DWORD dwChannel;
        DD_TIME startTime;
        DD_TIME stopTime;
        DWORD dwRecType;
    } NET_SDK_REC_EVENT;

    1
    2
    3
    4
    5
    6
    7
    8
    [StructLayout(LayoutKind.Sequential, Pack = 4)]
    public struct NET_SDK_REC_EVENT
    {
        public UInt32 dwChannel;
        public DD_TIME startTime;
        public DD_TIME stopTime;
        public UInt32 dwRecType;
    }

### Function Description

According to the event video file information structure.

### Member Description

Member | Type | Remark
--- | --- | ---
dwChannel | DWORD | Channel number.
startTime | `DD_TIME` | Start time.
stopTime | `DD_TIME` | Stop time.
dwRecType | DWORD | Recording event type, refer to `DD_RECORD_TYPE`.

Error Code