uds_item_action_data_set_type()

Set the target type for the specified item action data.

Synopsis:

void uds_item_action_data_set_type(uds_item_action_data_t *item_action,
                                   const char *targetType)

Since:

BlackBerry 10.2.0

Arguments:

item_action

The item action to set the target type for. This item action is represented by a uds_item_action_data_t and is created using uds_item_action_data_create().

targetType

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 item 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 targetType parameter must remain valid until the data is used in a call to uds_register_item_action() or uds_update_item_action().

Returns:

Last modified: 2015-01-22



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

comments powered by Disqus