AppInfo.getDefaultForTypeAsync

void getDefaultForTypeAsync(string contentType, bool mustSupportUris, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)

Asynchronously gets the default #GAppInfo for a given content type.

Parameters

contentTypethe content type to find a #GAppInfo for
mustSupportUrisif true, the #GAppInfo is expected to support URIs
cancellableoptional #GCancellable object, null to ignore
callbacka #GAsyncReadyCallback to call when the request is done