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_INFO_GROUP_ITEM

### Structure Definition

C++C#

    1
    2
    3
    4
    5
    6
    7
    8
    typedef struct _net_sdk_face_info_group_item_
    {
        unsigned char guid[48];
        char name[DD_MAX_NAME_LEN];
        unsigned int property;
        unsigned int groupId;
        unsigned int enableAlarmSwitch;
    } NET_SDK_FACE_INFO_GROUP_ITEM;

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    [StructLayout(LayoutKind.Sequential, Pack = 4)]
    public struct NET_SDK_FACE_INFO_GROUP_ITEM
    {
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 48)]
        public byte[] guid;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 64)]
        public byte[] name;
        public UInt32 property;
        public UInt32 groupId;
        public UInt32 enableAlarmSwitch;
    }

### Function Description

Face comparison group information.

### Member Description

Member | Type | Remark
--- | --- | ---
guid | unsigned char[48] | The guid of the group.
name | char[DD_MAX_NAME_LEN] | The name of the group.
property | unsigned int | Target group type, refer to `NET_SDK_FACE_INFO_GROUP_PROPERTY_TYPE`.
groupId | unsigned int | The ID of the group.
enableAlarmSwitch | unsigned int | Whether to activate the alarm.

Error Code