null on error.
DesktopAppInfoLookup.getDefaultForUriScheme
gio.app_info.AppInfo getDefaultForUriScheme(string uriScheme)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.AppInfo.getDefaultForUriScheme] backends in a GIO module. There is no reason for applications to use it directly. Applications should use [gio.app_info.AppInfo.getDefaultForUriScheme].
Parameters
uriScheme | a string containing a URI scheme. |
Returns
#GAppInfo for given uri_scheme or
Deprecated
The #GDesktopAppInfoLookup interface is deprecated and
unused by GIO.