AppInfo.getDefaultForUriScheme

gio.app_info.AppInfo getDefaultForUriScheme(string uriScheme)

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".

Parameters

uriSchemea string containing a URI scheme.

Returns

#GAppInfo for given uri_scheme or

null on error.