Skip to content
This SDK only works with devices released within the past 3 years. We regularly optimize and update the SDK to ensure compatibility and performance. We do not guarantee compatibility or provide technical support for devices older than 3 years.

# NET_SDK_SaveLiveData

### Interface Definition

C++C#

    1
    2
    3
    BOOL NET_SDK_SaveLiveData(
        POINTERHANDLE lLiveHandle,
        char* sFileName);

    1
    2
    3
    public static extern bool NET_SDK_SaveLiveData(
        POINTERHANDLE lLiveHandle,
        string filePath);

### Function Description

Save the real-time preview data.

### Parameter Description

Parameters | Type | Remark
--- | --- | ---
lLiveHandlein | POINTERHANDLE | The preview handle, which is the return value of `NET_SDK_LivePlay` or `NET_SDK_LivePlayEx`.
sFileNamein | char* | File path, note: Please use absolute path, do not use relative paths.

### Return Value

- Type：BOOL

- Remark：Returns TRUE if successful, FALSE if failed.

### Remarks

None

Error Code