get_snaps_async


Description:

[ Version ( since = "1.42" ) ]
public async GenericArray<unowned Snap> get_snaps_async (GetSnapsFlags flags, string[]? names, Cancellable? cancellable) throws Error

Asynchronously get information on installed snaps.

See get_snaps_sync for more information.

Parameters:

this

a Client.

flags

a set of GetSnapsFlags to control what results are returned.

names

A list of snap names to return results for. If null or empty then 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