Register your app as a client entity with the BlackBerry Hub.
int uds_register_client(uds_context_t handle, const char *pServiceURL, const char *pLibPath, const char *pAssetPath)
The handle that's associated with your app's registration with the BlackBerry Hub.
A uniquely identified service URL to be registered with the BlackBerry Hub.
The library path of any module that must be loaded by the BlackBerry Hub.
The relative path of any assets that your data uses, such as images or icons.
Library:libunifieddatasourcec (For the qcc command, use the -l unifieddatasourcec option to link against this library)
This function identifies your app to the BlackBerry Hub and registers it as a client entity, which means that your app is allowed to add and manipulate BlackBerry Hub data. When your app registers using this function, you need to provide a service URL to identify your app, a library path that specifies any modules that must be loaded by the BlackBerry Hub, and a relative path to any assets that your data uses, such as images or icons.
UDS_SUCCESS if the registration was successful, or a non-zero error code on failure. See uds_error_code_t or errno.h for details.
Last modified: 2015-01-22