uds_inbox_item_data_set_mime_type()

Set the MIME type for the specified inbox item data.

Synopsis:

void uds_inbox_item_data_set_mime_type(uds_inbox_item_data_t *inbox_item,
                                       const char *mime_type)

Since:

BlackBerry 10.2.0

Arguments:

inbox_item

The inbox item to set the MIME type for. This inbox item is represented by a uds_inbox_item_data_t and is created using uds_inbox_item_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 the inbox item contains. For example, a message item in a messaging account might have a MIME type of "plain/message" or "text/plain". 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_item_added() or uds_item_updated().

Returns:

Last modified: 2015-01-22



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

comments powered by Disqus