uds_account_data_get_supports_compose()

Get whether the "Compose" action is supported by the specified account data.

Synopsis:

#include "bb/pim/unified/unified_data_source.h"
 
bool uds_account_data_get_supports_compose(uds_account_data_t const *account)

Since:

BlackBerry 10.2.0

Arguments:

account

The account to get "Compose" action support for. This account is represented by a uds_account_data_t and is created using uds_account_data_create().

Library:

libunifieddatasourcec (For the qcc command, use the -l unifieddatasourcec option to link against this library)

Description:

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 retrieve whether an account should appear in this list.

Returns:

true if the account supports the "Compose" action in the BlackBerry Hub, false otherwise.