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_FACE_MATCH_ALARM_TRIGGER

### Structure Definition

C++C#

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    17
    typedef struct _net_sdk_face_match_alarm_trigger_
    {
        unsigned char guid[48];
        unsigned int groupId;
        unsigned char groupSwitch;
        unsigned char alarmOutSwitch;
        unsigned char alarmOut[16];
        unsigned char recSwitch;
        unsigned int recCH[128];
        unsigned char snapSwitch;
        unsigned int snapCH[128];
        unsigned int popVideo;
        unsigned char msgPushSwitch;
        unsigned char buzzerSwitch;
        unsigned char popMsgSwitch;
        unsigned char emailSwitch;
    } NET_SDK_FACE_MATCH_ALARM_TRIGGER;

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    [StructLayout(LayoutKind.Sequential, Pack = 4)]
    public struct NET_SDK_FACE_MATCH_ALARM_TRIGGER
    {
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 48)]
        public byte[] guid;
        public UInt32 groupId;
        public byte groupSwitch;
        public byte alarmOutSwitch;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 16)]
        public byte[] alarmOut;
        public byte recSwitch;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U4, SizeConst = 128)]
        public UInt32[] recCH;
        public byte snapSwitch;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U4, SizeConst = 128)]
        public UInt32[] snapCH;
        public UInt32 popVideo;
        public byte msgPushSwitch;
        public byte buzzerSwitch;
        public byte popMsgSwitch;
        public byte emailSwitch;
    }

### Function Description

Target group face matching alarm linkage information.

### Member Description

Member | Type | Remark
--- | --- | ---
guid | unsigned char[48] | The group GUID.
groupId | unsigned int | Group ID.
groupSwitch | unsigned char | Whether to enable.
alarmOutSwitch | unsigned char | Whether to enable linkage alarm output.
alarmOut | unsigned char[16] | The default number of linkage alarm outputs is 16 at most, and the subscript starts from 1.
recSwitch | unsigned char | Video recording.
recCH | unsigned int[128] | Linked video channel, the subscript starts from 1.
snapSwitch | unsigned char | Screenshot.
snapCH | unsigned int[128] | Linked capture channel, the subscript starts from 1.
popVideo | unsigned int | The video pops up.
msgPushSwitch | unsigned char | Linked message push.
buzzerSwitch | unsigned char | Linked buzzer.
popMsgSwitch | unsigned char | Linked pop-up message.
emailSwitch | unsigned char | Linked email.

Error Code