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_DETECT_TARGET_CFG

### Structure Definition

C++C#

    1
    2
    3
    4
    5
    6
    struct NET_SDK_IVE_DETECT_TARGET_CFG
    {
        BOOL enable;
        int sensitivity;
        int stayAlarmThreshold;
    };

    1
    2
    3
    4
    5
    6
    7
    [StructLayout(LayoutKind.Sequential, Pack = 4)]
    public struct NET_SDK_IVE_DETECT_TARGET_CFG
    {
        public bool enable;
        public Int32 sensitivity;
        public Int32 stayAlarmThreshold;
    }

### Function Description

Smart event detection target configuration

### Member Description

Member | Type | Remark
--- | --- | ---
enable | BOOL | Whether to enable.
sensitivity | int | Sensitivity, 0-100, -1 means no such parameter.
stayAlarmThreshold | int | Trigger alarm time threshold, unit: s, 0 ~ 10000, -1 means no such parameter.

Error Code