getDefaultForUriSchemeAsync
fun getDefaultForUriSchemeAsync(uriScheme: String, cancellable: Cancellable? = null, callback: AsyncReadyCallback?)
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
.
Since
2.74
Parameters
uriScheme
a string containing a URI scheme.
cancellable
a class@Gio.Cancellable
callback
a type@Gio.AsyncReadyCallback to call when the request is done