get_default_for_uri_scheme_async


Description:

[ Version ( since = "2.74" ) ]
public static async AppInfo get_default_for_uri_scheme_async (string uri_scheme, Cancellable? cancellable = null) throws Error

Asynchronously 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.

cancellable

optional Cancellable object, null to ignore

callback

a TaskReadyCallback to call when the request is done

user_data

data to pass to callback