SearchType

enum so that com.sonnenstahl.recime.Recipes can know what type of API request to commit

Entries

Link copied to clipboard

indicates that the recipe search should be based on a specific category. For example, fetching meals belonging to "Seafood" or "Dessert" categories.

Link copied to clipboard

indicates that the recipe search should be based on a list of available ingredients. For example, finding recipes that can be made with "chicken" and "broccoli".

Link copied to clipboard

indicates that no specific search criteria are provided, typically leading to a request for a random meal or a default list of recipes.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.