getDefaultForUriScheme

open fun getDefaultForUriScheme(uriScheme: String): AppInfo?

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 g_app_info_get_default_for_uri_scheme() backends in a GIO module. There is no reason for applications to use it directly. Applications should use g_app_info_get_default_for_uri_scheme().

Return

#GAppInfo for given @uri_scheme or null on error.

Parameters

uriScheme

a string containing a URI scheme.