ContentFormats.matchMimeType

string matchMimeType(gdk.content_formats.ContentFormats second)

Finds the first mime type from first that is also contained in second.

If no matching mime type is found, null is returned.

Parameters

secondthe [gdk.content_formats.ContentFormats] to intersect with

Returns

The first common mime type or null if none