Skip to content

NET_SDK_ShowRule

Interface Definition

1
2
3
4
5
BOOL NET_SDK_ShowRule(
    POINTERHANDLE lPlayHandle,
    LONG lUserID,
    LONG lChannel,
    BOOL bShow);
1
2
3
4
5
public static extern Boolean NET_SDK_ShowRule(
    POINTERHANDLE lPlayHandle,
    Int32 lUserID,
    Int32 lChannel,
    Boolean bShow);

Function Description

Show rule boxes (including zone invasion, line crossing).

Parameter Description

Parameters Type Remark
lPlayHandlein POINTERHANDLE The preview handle, which is the return value of NET_SDK_LivePlay or NET_SDK_LivePlayEx.
lUserIDin LONG User ID, the return value of NET_SDK_Login or NET_SDK_LoginEx.
lChannelin LONG Channel number, starting from 0. This parameter is invalid for IPC devices.
bShowin BOOL Whether to display.

Return Value

  • type:BOOL

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

Remarks

None

Error Code