A structure that represents data for an account action.


typedef struct uds_account_action_data uds_account_action_data_t;


BlackBerry 10.2.0


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


An account on a device can have a set of associated actions. These actions appear on the action bar in the account view in the BlackBerry Hub. For example, you could add an action to create a new inbox list item. You can add actions that are associated with invocation framework actions, such as "bb.action.STATUS" and "bb.action.CREATE". When a user taps an account action, it is processed using the action and target that you specify (using uds_account_action_data_set_action() and uds_account_action_data_set_target(), respectively).

This structure includes all of the information that's required for an action in an account, such as the target, type, MIME type, and so on. You receive a uds_account_action_data_t when you create a handle for an account action using uds_account_action_data_create(), and you pass it to functions that manipulate account action data, such as uds_account_action_data_set_type() and uds_account_action_data_set_mime_type().

You also use this structure when you add an action to an account in the BlackBerry Hub by calling uds_register_account_action(). Adding actions to an account is optional.

Last modified: 2015-01-22

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

comments powered by Disqus