find_category_sync


Description:

[ Version ( since = "1.64" ) ]
public GenericArray<unowned Snap> find_category_sync (FindFlags flags, string? category, string? query, out string suggested_currency, Cancellable? cancellable = null) throws Error

Find snaps in the store.

Parameters:

this

a Client.

flags

a set of FindFlags to control how the find is performed.

category

store category to search in or null to search in all categories.

query

query string to send or null to get all snaps from the given category.

suggested_currency

location to store the ISO 4217 currency that is suggested to purchase with.

cancellable

a Cancellable or null.

Returns:

an array of Snap or null on error.