AppInfo.getDefaultForUriScheme

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 ':', e.g. "http", "ftp" or "sip".

interface AppInfo
static
getDefaultForUriScheme
(
string uriScheme
)

Parameters

uriScheme string

a string containing a URI scheme.

Return Value

Type: gio.app_info.AppInfo

#GAppInfo for given uri_scheme or null on error.