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_GetPlayBackSyncHandle

### Interface Definition

C++C#

    1
    2
    3
    POINTERHANDLE NET_SDK_GetPlayBackSyncHandle(
        LONG lUserID,
        LONG lChannel);

    1
    2
    3
    public static extern POINTERHANDLE NET_SDK_GetPlayBackSyncHandle(
        Int32 lUserID,
        Int32 lChannel);

### Function Description

When multi-channel playback of a single device, get the handle to get the playback based on the user id and channel number.

### Parameter Description

Parameters | Type | Remark
--- | --- | ---
lUserIDin | LONG | User ID, the return value of `NET_SDK_Login` or `NET_SDK_LoginEx`.
lChannelin | LONG | The channel number array for playback, the channel number starts from 0.

### Return Value

- Type：POINTERHANDLE

- Remark：Corresponding playback handle

### Remarks

When multi-playback of a single device, the handle to get the playback is obtained based on the user id and channel number.

Error Code