| Android SDK | 2GIS Documentation


Base class representing a widget for filtering search results.

Widgets are returned as a result of a search and are designed to filter or sort the result by certain parameters. Widgets are generated dynamically for each search result and may not be available for some requests. The widget represents one specific filter or a group of them, united by a common feature. For example, the type of cuisine in search results for the "Eat" query.


Gets the widget type.

Gets the name of the widget. May be missing.

Gets a list of filters that describe the current state of the widget. Can be used when forming a search query.