EvinceDocument.fileGetMimeType

struct EvinceDocument
static
string
fileGetMimeType
(
string uri
,
bool fast
)

Parameters

uri string

the URI

fast bool

whether to use fast MIME type detection

Return Value

Type: string

a newly allocated string with the MIME type of the file at @uri, or %NULL on error or if the MIME type could not be determined

Throws

GException on failure.

Meta