uds_account_action_data_set_type()

Set the target type for the specified account action data.

Synopsis:

#include "bb/pim/unified/unified_data_source.h"
 
void uds_account_action_data_set_type(uds_account_action_data_t *account_action, const char *target_type)

Since:

BlackBerry 10.2.0

Arguments:

account_action

The account action to set the target type for. This account action is represented by a uds_account_action_data_t and is created using uds_account_action_data_create().

target_type

The target type to set.

Library:

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

Description:

This target type specifies what kind of target is used to invoke the account action. For example, if the target is a "Compose" card, then the target type is "card.composer". If the target is a service, then the target type is "service". The string value that you pass in as the target_type parameter must remain valid until the data is used in a call to uds_register_account_action() or uds_update_account_action().

Returns: