get_apps2_sync
Description:
[ Version ( since = "1.45" ) ]
public GenericArray<unowned App> get_apps2_sync (GetAppsFlags flags, string[]? snaps, Cancellable? cancellable = null) throws Error
public GenericArray<unowned App> get_apps2_sync (GetAppsFlags flags, string[]? snaps, Cancellable? cancellable = null) throws Error
Get information on installed apps.
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. |
Returns:
an array of App or null on error. |