uds_account_data_set_icon()

Set the icon for the specified account data.

Synopsis:

void uds_account_data_set_icon(uds_account_data_t *account, const char *icon)

Arguments:

account

The account to set the icon for. This account is represented by a uds_account_data_t and is created using uds_account_data_create().

icon

The file name of the icon to set.

Library:

libunifieddatasourcec

Description:

This icon appears along with the account name on the associated account's tab in the BlackBerry Hub. The icon that you want to use must be located in the asset directory that you specify when you call uds_register_client(). The icon should also be 81x81 pixels and in PNG format.

The string value that you pass in as the icon parameter must remain valid until the data is used in a call to uds_account_added() or uds_account_updated().

Returns:

Last modified: 2013-12-21

comments powered by Disqus