get_default_for_uri_scheme


Description:

public static AppInfo? get_default_for_uri_scheme (string uri_scheme)

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:

uri_scheme

a string containing a URI scheme.

Returns:

AppInfo for given uri_scheme or null on error.




2022 vala-language.org