get_default_for_uri_scheme


Description:

public abstract AppInfo get_default_for_uri_scheme (string uri_scheme)

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

Note:

The DesktopAppInfoLookup interface is deprecated and unused by GIO.

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

Parameters:

this

a DesktopAppInfoLookup

uri_scheme

a string containing a URI scheme.

Returns:

AppInfo for given uri_scheme or null on error.