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 AppInfos 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 set_as_last_used_for_type has been called.

Parameters:

content_type

the content type to find a AppInfo for

Returns:

List of AppInfos for given content_type or null on error.




2022 vala-language.org