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_LIVE_DISPLAY

### Structure Definition

C++C#

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    typedef struct _dd_live_display_
    {
        unsigned int iSize;
        unsigned int showTime;
        unsigned int showNetwork;
        unsigned int showHDD;
        unsigned int showUSB;
        unsigned short alarmInNum;
        unsigned short alarmOutNum;
        unsigned int showAlarmIn;
        unsigned int showAlarmOut;
        unsigned int cameraNum;
        unsigned char showCameraName[DD_MAX_CAMERA_NUM];
        unsigned char showRecordStatus[DD_MAX_CAMERA_NUM];
    } DD_LIVE_DISPLAY;

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    [StructLayout(LayoutKind.Sequential, Pack = 4)]
    public struct DD_LIVE_DISPLAY
    {
        public UInt32 iSize;
        public UInt32 showTime;
        public UInt32 showNetwork;
        public UInt32 showHDD;
        public UInt32 showUSB;
        public UInt16 alarmInNum;
        public UInt16 alarmOutNum;
        public UInt32 showAlarmIn;
        public UInt32 showAlarmOut;
        public UInt32 cameraNum;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 128)]
        public byte[] showCameraName;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 128)]
        public byte[] showRecordStatus;
    }

### Function Description

The preview shows the structure.

### Member Description

Member | Type | Remark
--- | --- | ---
iSize | unsigned int | The length of this structure.
showTime | unsigned int | Whether to display the system time.
showNetwork | unsigned int | Whether to display the network status.
showHDD | unsigned int | Whether to display hard disk information.
showUSB | unsigned int | Whether to display mobile storage information.
alarmInNum | unsigned short | Number of alarm inputs (read only).
alarmOutNum | unsigned short | Number of alarm outputs (read only).
showAlarmIn | unsigned int | Whether to display alarm input information.
showAlarmOut | unsigned int | Whether to display alarm output information.
cameraNum | unsigned int | Number of valid channels (read-only).
showCameraName | unsigned char[DD_MAX_CAMERA_NUM] | Whether to display the channel name.
showRecordStatus | unsigned char[DD_MAX_CAMERA_NUM] | Whether to display the recording status.

Error Code