get_recommended_for_type


Description:

[ Version ( since = "2.28" ) ]
public static List<AppInfo> get_recommended_for_type (string content_type)

Gets a list of recommended [iface@Gio.

AppInfo]s for a given content type, i.e. those applications which claim to support the given content type exactly, and not by MIME type subclassing.

Note that the first application of the list is the last used one, i.e. the last one for which [method@Gio.AppInfo.set_as_last_used_for_type] has been called.

Parameters:

content_type

the content type to find a [iface@Gio.AppInfo] for

Returns:

list of [iface@Gio.AppInfo]s for given content_type or `NULL` on error.