Interface SearchOption

All Superinterfaces:
BraveAPIConstant
All Known Subinterfaces:
ClientProvidedOption, CountryIdentifier, LanguageIdentifier, ProvidedOption, RegionLocaleIdentifier, SearchFilterOption
All Known Implementing Classes:
Country, Freshness, MarketLocale, ResultFilter, SafeSearch, SearchFilterMode, SearchLanguage, SearchOptions, Units

public sealed interface SearchOption extends BraveAPIConstant permits ProvidedOption, ClientProvidedOption
An interface representing a search option.

This interface extends BraveAPIConstant and is implemented by enums that represent search options.

A search option is a parameter that can be used to modify the behavior of the API requests. In JBrave's base model, all search options appear in the query parameters of requests and that is why identifiers, verticals, filters and options implement a subinterface of this interface by default.

See Also: