ApiType
public enum ApiType
Determine which Mapbox API to use for a SearchEngine instance
NOTE: This is unused in the v1 Search SDK. The v2 Search SDK uses this enum to support engine types.
Please use the supportSBS: Bool
parameter in AbstractSearchEngine.init in v1.
-
The Mapbox Geocoding (a.k.a V5) API - https://docs.mapbox.com/api/search/geocoding/
Declaration
Swift
case geocoding
-
The Mapbox Single Box Search (a.k.a Federation API) - https://docs.mapbox.com/api/search/search/
Declaration
Swift
case SBS
-
The current default API type for out-of-the-box use is SBS.
Declaration
Swift
public static var defaultType: `Self` { get }