uds_account_data_set_type()

Set the type for the specified account data.

Synopsis:

#include "bb/pim/unified/unified_data_source.h"
 
void uds_account_data_set_type(uds_account_data_t *account, uds_account_type_t type)

Since:

BlackBerry 10.2.0

Arguments:

account

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

type

The account type to set. If not specified, the default value is UDS_ACCOUNT_TYPE_OTHER.

Library:

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

Description:

The type of an account is specified by using values in the uds_account_type_t enumeration. An account might be an SMS/MMS text messaging account, a social account, or another type of account.

Returns: