mapbox-search-android
mapbox-search-android copied to clipboard
Street query type marked as reserved for internal and special use
Environment
- Search SDK Component (check at least one)
- [x] Core Search SDK (
SearchEngine
class, and etc.) - [ ] Offline Search SDK (
OfflineSearchEngine
class, and etc.) - [ ] Address Autofill SDK
- [ ] Search UI SDK
- [x] Core Search SDK (
- Android OS version:
- Devices affected:
- Search SDK Version: 2.2.0
- Included in project Maps SDK, Nav SDK versions if available:
Code examples
Observed behavior and steps
In com.mapbox.search.QueryType
:
/**
* Street query type.
*
* Note: Supported for Single Box Search API only. Reserved for internal and special use.
*/
@Reserved(SBS)
STREET,
Expected behavior
Does this @Reserved
annotation need to be revisited following the addition of ApiType.SEARCH_BOX
? It seems we can use the street query type with the Search Box API.