uds_get_service_id()

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

Synopsis:

int uds_get_service_id(uds_context_t handle)

Arguments:

handle

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

Library:

libunifieddatasourcec

Description:

This function returns the service ID that was assigned when your app registered with the BlackBerry Hub using uds_register_client(). 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 ID that's associated with your app's registration with the BlackBerry Hub.

Last modified: 2013-12-21

comments powered by Disqus