Interface ClientProvidedOption

All Superinterfaces:
BraveAPIConstant, SearchOption
All Known Implementing Classes:
Freshness, ResultFilter, SafeSearch, SearchFilterMode, SearchOptions

public non-sealed interface ClientProvidedOption extends SearchOption
This interface identifies search options that must provide methods to ensure that they produce the correct typed SearchOptionCarrier since their values are provided by the client, not by the API.

Options of type ClientProvidedOption require a that a SearchOptionCarrier is instantiated with a client-provided value. If an option is provided by the API, its conversion to an option carrier object does not need a validated input and that is what makes this interface different from ProvidedOption.

See Also: