目录

Rcp_OnGetDataCallback

Overview

Callback used to obtain data. You can call HMS_Rcp_SetRequestGetDataCallback to set the callback function for a request.

Since: 26.0.0

Related module: RemoteCommunication

Header file: rcp.h

Summary

[h2]Member Variables

Name Description
Rcp_GetDataCallbackFunc callback Callback function used to obtain data during the request.
void *userObject Custom object, which is used in the callback function.

Struct Member Variable Description

[h2]callback

Rcp_GetDataCallbackFunc Rcp_OnGetDataCallback::callback

Description

Callback function used to obtain data.

[h2]userObject

void* Rcp_OnGetDataCallback::userObject

Description

Custom object, which is used in the callback function.