uds_get_service_status()

Get the service state that's associated with your app's registration with the BlackBerry Hub.

Synopsis:

int uds_get_service_status(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 returns the service state that was assigned when your app registered with the BlackBerry Hub using uds_register_client(), as one of the values in uds_registration_code_t, such as UDS_REGISTRATION_NEW or UDS_REGISTRATION_EXISTS. If you're using the library in synchronous mode, you should have received a return value of UDS_SUCCESS from uds_register_client() before you call this function. If you're using the library in asynchronous mode, you should have received a return value of true from uds_get_response() (after calling uds_register_client()) before you call this function.

Returns:

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

Last modified: 2015-01-22



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

comments powered by Disqus