ContentType.fromMimeType

Tries to find a content type based on the mime type name.

struct ContentType
static
string
fromMimeType
(
string mimeType
)

Parameters

mimeType string

a mime type string

Return Value

Type: string

Newly allocated string with content type or NULL. Free with g_free()

Meta

Since

2.18