getMimeTypes

open fun getMimeTypes(): List<String>?

Returns the mime types associated to this language.

This is just an utility wrapper around method@Language.get_metadata to retrieve the "mimetypes" metadata property and split it into an array.

Return

a newly-allocated null terminated array containing the mime types or null if no mime types are found. The returned array must be freed with g_strfreev().