uds_item_action_data_set_mime_type()

Set the MIME type for the specified item action data.

Synopsis:

#include "bb/pim/unified/unified_data_source.h"
 
void uds_item_action_data_set_mime_type(uds_item_action_data_t *item_action, const char *mime_type)

Since:

BlackBerry 10.2.0

Arguments:

item_action

The item action to set the MIME type for. This item action is represented by a uds_item_action_data_t and is created using uds_item_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 item 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_item_action() or uds_update_item_action().

Returns: