Gio.DesktopAppInfoLookup.prototype.get_default_for_uri_scheme

function get_default_for_uri_scheme(uri_scheme: String): Gio.AppInfo {
    // Gjs wrapper for g_desktop_app_info_lookup_get_default_for_uri_scheme()
}
  

Gets the default application for launching applications using this URI scheme for a particular GDesktopAppInfoLookup implementation.

The GDesktopAppInfoLookup interface and this function is used to implement Gio.app_info_get_default_for_uri_scheme backends in a GIO module. There is no reason for applications to use it directly. Applications should use Gio.app_info_get_default_for_uri_scheme.

uri_scheme

a string containing a URI scheme.

Returns

Gio.AppInfo for given uri_scheme or null on error.