Skip to content

NET_SDK_CapturePicture

Interface Definition

1
2
3
BOOL NET_SDK_CapturePicture(
    POINTERHANDLE lLiveHandle,
    char* sPicFileName);
1
2
3
public static extern bool NET_SDK_CapturePicture(
    POINTERHANDLE lLiveHandle,
    string picFileName);

Function Description

Device screenshot, bmp format (preview needs to be enabled first).

Parameter Description

Parameters Type Remark
lLiveHandlein POINTERHANDLE The preview handle, which is the return value of NET_SDK_LivePlay or NET_SDK_LivePlayEx.
sPicFileNamein char* Saved paths, note: Please use absolute paths, and do not use relative paths.

Return Value

  • type:BOOL

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

Remarks

None

Error Code