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.

# DD_EVENT_TYPE

### Enum Definition

C++C#

    1
    2
    3
    4
    5
    6
    7
    typedef enum _dd_event_type_
    {
        DD_EVENT_TYPE_MOTION = 0x00000001,
        DD_EVENT_TYPE_SENSOR = 0x00000002,
        DD_EVENT_TYPE_V_LOSS = 0x00000004,
        DD_EVENT_TYPE_V_COVER = 0x00000008,
    } DD_EVENT_TYPE;

    1
    2
    3
    4
    5
    6
    7
    public enum DD_EVENT_TYPE
    {
        DD_EVENT_TYPE_MOTION = 0x00000001,
        DD_EVENT_TYPE_SENSOR = 0x00000002,
        DD_EVENT_TYPE_V_LOSS = 0x00000004,
        DD_EVENT_TYPE_V_COVER = 0x00000008,
    }

### Function Description

Event type.

### Member Description

Enum name | Value | Remark
--- | --- | ---
DD_EVENT_TYPE_MOTION | 0x00000001 | Motion detection.
DD_EVENT_TYPE_SENSOR | 0x00000002 | Sensor alarm.
DD_EVENT_TYPE_V_LOSS | 0x00000004 | Video lost.
DD_EVENT_TYPE_V_COVER | 0x00000008 | Video occlusion.

Error Code