uds_account_action_data_t

A structure that represents data for an account action.

Synopsis:

typedef struct uds_account_action_data uds_account_action_data_t;

Library:

libunifieddatasourcec

Description:

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: 2013-12-21

comments powered by Disqus