AppInfo.getDefaultForTypeAsync

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

interface AppInfo
static
void
getDefaultForTypeAsync

Parameters

contentType string

the content type to find a #GAppInfo for

mustSupportUris bool

if true, the #GAppInfo is expected to support URIs

cancellable gio.cancellable.Cancellable

optional #GCancellable object, null to ignore

callback gio.types.AsyncReadyCallback

a #GAsyncReadyCallback to call when the request is done