get_default_for_type_async


Description:

[ Version ( since = "2.74" ) ]
public static async AppInfo get_default_for_type_async (string content_type, bool must_support_uris, Cancellable? cancellable = null) throws Error

Asynchronously gets the default AppInfo for a given content type.

Parameters:

content_type

the content type to find a AppInfo for

must_support_uris

if true, the AppInfo is expected to support URIs

cancellable

optional Cancellable object, null to ignore

callback

a TaskReadyCallback to call when the request is done

user_data

data to pass to callback