get_mime_type
Description:
Retrieves the MIME type of the resource pointed by uri
.
In the event the URI cannot be found, null is returned and throws is set to g_bookmark_file_error_uri_not_found. In the event that the MIME type cannot be found, null is returned and throws is set to g_bookmark_file_error_invalid_value.
Parameters:
this | |
uri |
a valid URI |
Returns:
a newly allocated string or null if the specified URI cannot be found. |