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_AVD_CONFIG

### Structure Definition

C++C#

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    typedef struct _net_sdk_AVD_Config
    {
        unsigned int alarmHoldTime;
        unsigned int sceneChangeSwitch;
        unsigned int clarityAbnormalSwitch;
        unsigned int colorAbnormalSwitch;
        unsigned int sensitivity;
        unsigned int maxSensitivity;
        unsigned int minSensitivity;
        char resv[40];
    } NET_SDK_AVD_CONFIG;

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    [StructLayout(LayoutKind.Sequential, Pack = 4)]
    public struct NET_SDK_AVD_CONFIG
    {
        public UInt32 alarmHoldTime;
        public UInt32 sceneChangeSwitch;
        public UInt32 clarityAbnormalSwitch;
        public UInt32 colorAbnormalSwitch;
        public UInt32 sensitivity;
        public UInt32 maxSensitivity;
        public UInt32 minSensitivity;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 40)]
        public byte[] resv;
    }

### Function Description

Exception video configuration structure.

### Member Description

Member | Type | Remark
--- | --- | ---
alarmHoldTime | unsigned int | Alarm duration.
sceneChangeSwitch | unsigned int | Scene change enable, 0 or 1.
clarityAbnormalSwitch | unsigned int | Video blur enable, 0 or 1.
colorAbnormalSwitch | unsigned int | Video color cast enable, 0 or 1.
sensitivity | unsigned int | Sensitivity.
maxSensitivity | unsigned int | Maximum sensitivity.
minSensitivity | unsigned int | Minimum sensitivity.
resv | char[40] | Reserved field.

Error Code