getDefaultForUriScheme

open fun getDefaultForUriScheme(uriScheme: String): AppInfo?

Gets the default application for launching applications using this URI scheme for a particular iface@Gio.DesktopAppInfoLookup implementation.

The iface@Gio.DesktopAppInfoLookup interface and this function is used to implement func@Gio.AppInfo.get_default_for_uri_scheme backends in a GIO module. There is no reason for applications to use it directly. Applications should use func@Gio.AppInfo.get_default_for_uri_scheme.

Return

iface@Gio.AppInfo for given

Parameters

uriScheme

a string containing a URI scheme.