Wait and block until there is a response from the server or until the specified timeout period elapses.
#include "bb/pim/unified/unified_data_source.h"
bool uds_wait_for_response(uds_context_t handle, unsigned long timeout)
BlackBerry 10.2.0
The handle that's associated with your app's registration with the BlackBerry Hub.
The timeout period (in milliseconds).
This function blocks the current thread and waits for a response from the server about the results of the previous command. You can specify a timeout period, which is the maximum amount of time to block. If a response is received (that is, this function returns true), you can call uds_get_response() to retrieve the response.
true if a response is received from the server, false if the timeout period elapses.