get_default_for_uri_scheme


Description:

public static AppInfo? get_default_for_uri_scheme (string uri_scheme)

Gets the default application for handling URIs with the given URI scheme.

A URI scheme is the initial part of the URI, up to but not including the `:`. For example, `http`, `ftp` or `sip`.

Parameters:

uri_scheme

a string containing a URI scheme.

Returns:

[iface@Gio.AppInfo] for given uri_scheme or `NULL` on error.