Skip to content

NET_SDK_GetDeviceTime

Interface Definition

1
2
3
BOOL NET_SDK_GetDeviceTime(
    LONG lUserID,
    DD_TIME* pTime);
1
2
3
public static extern bool NET_SDK_GetDeviceTime(
    Int32 lUserID,
    ref DD_TIME pTime);

Function Description

Get the current system time of the device.

Parameter Description

Parameters Type Remark
lUserIDin LONG User ID, the return value of NET_SDK_Login or NET_SDK_LoginEx.
pTimein DD_TIME* Get the device system time pointer.

Return Value

  • type:BOOL

  • remark:Returns TRUE if successful, returns FALSE if failed. Each acquisition takes up to 50 milliseconds. If the video frame has not reached the client within this time, the interface will return failure. You need to call this interface multiple times until the interface returns success.

Remarks

None

Error Code