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_SetSubscribCallBack_V2

### Interface Definition

C++C#

    1
    2
    3
    BOOL NET_SDK_SetSubscribCallBack_V2(
        SUBSCRIBE_CALLBACK_V2 fSubscribCallBack,
        void* pUser);

    1
    2
    3
    public static extern bool NET_SDK_SetSubscribCallBack_V2(
        SUBSCRIBE_CALLBACK_V2 fSubscribCallBack,
        IntPtr pUser);

### Function Description

Set up intelligent analysis event reporting callback V2 to adapt to multi-purpose IPC.

### Parameter Description

Parameters | Type | Remark
--- | --- | ---
fSubscribCallBackin | `SUBSCRIBE_CALLBACK_V2` | Callback function.
pUserin | void* | User-defined parameters.

### Return Value

- Type：BOOL

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

### Remarks

None

Error Code