uds_account_action_data_set_mime_type()

Set the MIME type for the specified account action data.

Synopsis:

void uds_account_action_data_set_mime_type(uds_account_action_data_t *account_action,
                                           const char *mime_type)

Since:

BlackBerry 10.2.0

Arguments:

account_action

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

mime_type

The MIME type to set.

Library:

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

Description:

The MIME type indicates what type of content is associated with the account action, such as "text/plain". You can specify any MIME type that's supported by the invocation framework. The string value that you pass in as the mime_type parameter must remain valid until the data is used in a call to uds_register_account_action() or uds_update_account_action().

Returns:

Last modified: 2015-01-22



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

comments powered by Disqus