uds_get_response()

Read and parse the response from the server for the previously executed command.

Synopsis:

#include "bb/pim/unified/unified_data_source.h"
 
int uds_get_response(uds_context_t handle)

Since:

BlackBerry 10.2.0

Arguments:

handle

The handle that's associated with your app's registration with the BlackBerry Hub.

Library:

libunifieddatasourcec (For the qcc command, use the -l unifieddatasourcec option to link against this library)

Description:

This function reads the response from the previous command and parses it. You call this function after you call uds_wait_for_response() and that function returns true (indicating that a response is available).

Returns:

UDS_SUCCESS if the response was read and parsed successfully, or a non-zero error code on failure. See uds_error_code_t or errno.h for details.

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus