uds_account_data_set_icon()

Set the icon for the specified account data.

Synopsis:

#include "bb/pim/unified/unified_data_source.h"
 
void uds_account_data_set_icon(uds_account_data_t *account, const char *icon)

Since:

BlackBerry 10.2.0

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 (For the qcc command, use the -l unifieddatasourcec option to link against this library)

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: 2014-05-14



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

comments powered by Disqus