uds_item_added()

Add an inbox list item to the BlackBerry Hub.

Synopsis:

int uds_item_added(uds_context_t handle, const uds_inbox_item_data_t *pItem)

Arguments:

handle

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

pItem

The inbox list item to add. This item is represented as a uds_inbox_item_data_t and contains all of the information that's required to display the item in the BlackBerry Hub.

Library:

libunifieddatasourcec

Description:

This function adds an inbox list item that's associated with an existing account to the BlackBerry Hub. If the inbox list item is added successfully (that is, this function returns UDS_SUCCESS), the item appears in the BlackBerry Hub under the associated account, and within the appropriate category (if a category was specified for the item).

Returns:

UDS_SUCCESS if the inbox list item was added successfully, or a non-zero error code on failure. See uds_error_code_t or errno.h for details.

Last modified: 2013-12-21

comments powered by Disqus