get_apps2_async


Description:

[ Version ( since = "1.45" ) ]
public async GenericArray<unowned App> get_apps2_async (GetAppsFlags flags, string[]? snaps, Cancellable? cancellable) throws Error

Asynchronously get information on installed apps.

See get_apps2_sync for more information.

Parameters:

this

a Client.

flags

a set of GetAppsFlags to control what results are returned.

snaps

A list of snap names to return results for. If null or empty then apps for all installed snaps are returned.

cancellable

a Cancellable or null.

callback

a TaskReadyCallback to call when the request is satisfied.

user_data

the data to pass to callback function.




2022 vala-language.org