AppInfo.getDefaultForUriSchemeAsync

void getDefaultForUriSchemeAsync(string uriScheme, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)

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

uriSchemea string containing a URI scheme.
cancellableoptional #GCancellable object, null to ignore
callbacka #GAsyncReadyCallback to call when the request is done