Skip to content

NET_SDK_SmartSubscrib

Interface Definition

1
2
3
4
5
BOOL NET_SDK_SmartSubscrib(
    LONG lUserID,
    DWORD dwCommand,
    LONG lChannel,
    NET_DVR_SUBSCRIBE_REPLY* pOutBuffer);
1
2
3
4
5
public static extern bool NET_SDK_SmartSubscrib(
    int lUserID,
    int dwCommand,
    int lChannel,
    ref NET_DVR_SUBSCRIBE_REPLY pOutBuffer);

Function Description

Subscribe to intelligence events.

Parameter Description

Parameters Type Remark
lUserIDin LONG User ID, the return value of NET_SDK_Login or NET_SDK_LoginEx.
dwCommandin DWORD For device configuration commands, refer to NET_SDK_SMART_EVENT_TYPE.
lChannelin LONG Channel number, starting from 0. This parameter is invalid for IPC devices.
pOutBufferout NET_DVR_SUBSCRIBE_REPLY* Pointer to the buffer for output data.

Return Value

  • type:BOOL

  • remark:Returns TRUE if successful, FALSE if failed.

Remarks

None

Error Code