contentTypeGetMimeType

Gets the mime type for the content type, if one is registered.

string
contentTypeGetMimeType
(
string type
)

Parameters

type string

a content type string

Return Value

Type: string

the registered mime type for the given type, or null if unknown; free with glib.global.gfree.