Gio.AppInfo.prototype.get_supported_types

function get_supported_types(): Array(String) {
    // Gjs wrapper for g_app_info_get_supported_types()
}
  

Retrieves the list of content types that @app_info claims to support. If this information is not provided by the environment, this function will return null. This function does not take in consideration associations added with Gio.AppInfo.prototype.add_supports_type, but only those exported directly by the application.

Since 2.34

Returns

a list of content types.