Skip to content

NET_SDK_RegisterDrawFun

Interface Definition

1
2
3
4
BOOL NET_SDK_RegisterDrawFun(
    POINTERHANDLE lLiveHandle,
    DRAW_FUN_CALLBACK fDrawFun,
    void* pUser);
1
2
3
4
public static extern bool NET_SDK_RegisterDrawFun(
    POINTERHANDLE lLiveHandle,
    DRAW_FUN_CALLBACK fDrawFun,
    IntPtr pUser);

Function Description

Characters and images are superimposed on the screen during real-time preview or playback.

Parameter Description

Parameters Type Remark
lLiveHandlein POINTERHANDLE The preview handle, which is the return value of NET_SDK_LivePlay or NET_SDK_LivePlayEx.
fDrawFunin DRAW_FUN_CALLBACK Drawing callback function, refer to DRAW_FUN_CALLBACK.
pUserin void* User-defined parameters.

Return Value

  • type:BOOL

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

Remarks

None

Error Code