Set the "Compose" icon for the specified account data.
#include "bb/pim/unified/unified_data_source.h"
void uds_account_data_set_compose_icon(uds_account_data_t *account, const char *compose_icon)
BlackBerry 10.2.0
The account to set the "Compose" icon for. This account is represented by a uds_account_data_t and is created using uds_account_data_create().
The file name of the icon to set.
When a user views the main tab of the BlackBerry Hub, a "Compose" action appears on the action bar at the bottom of the screen. When this action is selected, the user is asked to select an account to compose a message from. You can use this function to specify the colored icon that appears next to the account name in this list. 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.
It's important to note that for an account to appear in this list, you must enable "Compose" support for the account by calling uds_account_data_set_supports_compose() with a parameter value of true.
The string value that you pass in as the compose_icon parameter must remain valid until the data is used in a call to uds_account_added() or uds_account_updated().