MapboxSearch Docs MapboxSearch 2.0.0-alpha.1 Docs Reference (2.0.0-alpha.1) (0% documented)

MapboxSearch Reference AddressAutofill Class Reference
  • Classes
    • AbstractSearchEngine
    • AddressAutofill
    • – AddressComponent
    • – Options
    • – Query
    • – Result
    • – Suggestion
    • CategorySearchEngine
    • CodablePersistentService
    • DefaultLocationProvider
    • Discover
    • – Address
    • – Options
    • – Query
    • – Result
    • EventsManager
    • FeedbackEvent
    • – Reason
    • FeedbackManager
    • LocalDataProvider
    • PlaceAutocomplete
    • – Options
    • – PlaceType
    • – Result
    • – Suggestion
    • PointLocationProvider
    • Route
    • SearchEngine
    • – OfflineMode
    • SearchOfflineManager
    • SearchResponseInfo
    • SearchTileStore
    • ServiceProvider
    • _Logger
  • Global Variables
    • mapboxSearchErrorDomain
    • mapboxSearchSDKVersion
  • Enumerations
    • AddOfflineRegionError
    • HighlightsCalculator
    • LogCategory
    • LoggerLevel
    • Maki
    • OpenHours
    • SearchAddressType
    • SearchError
    • SearchNavigationProfile
    • SearchQueryType
    • SearchResultAccuracy
    • SearchResultType
    • SearchSuggestType
    • TileRegionError
  • Extensions
    • TileRegionLoadOptions
  • Protocols
    • AbstractSearchEngineConfiguration
    • IndexableDataProvider
    • IndexableDataResolver
    • IndexableRecord
    • LocationProvider
    • RecordsProviderInteractor
    • SearchCancelable
    • SearchCategorySuggestion
    • SearchEngineDelegate
    • SearchQuerySuggestion
    • SearchResult
    • SearchResultSuggestion
    • SearchSuggestion
  • Structures
    • Address
    • – AddressFormatStyle
    • AddressComponents
    • – FormatStyle
    • AdministrativeUnit
    • BoundingBox
    • Country
    • FavoriteRecord
    • HistoryRecord
    • – HistoryType
    • Image
    • – SizedImage
    • Language
    • – ISO639_1
    • NonEmptyArray
    • OpenPeriod
    • ReverseGeocodingOptions
    • – Mode
    • RoutablePoint
    • RouteOptions
    • – Deviation
    • SearchAddressCountry
    • SearchAddressRegion
    • SearchNavigationOptions
    • – ETAType
    • SearchOptions
    • SearchRequestOptions
    • SearchResultMetadata
  • Type Aliases
    • FavoritesProvider
    • HistoryProvider

AddressAutofill

  • init(locationProvider:)

    Basic internal initializer

Public API

  • suggestions(for:with:completion:)

    Start searching for query with provided options

  • select(suggestion:completion:)

    Retrieves detailed information about the AddressAutofill.Suggestion. Use this function to end search session even if you don’t need detailed information.

    Subject to change: in future, you may be charged for a suggestion call in case your UX flow accepts one of suggestions as selected and uses the coordinates, but you don’t call select(suggestion:completion:) method to confirm this. Other than that suggestions calls are not billed.

  • AddressComponent
    See more
  • Options
    See more
  • Query
    See more
  • Result
    See more
  • Suggestion
    See more

Copyright © 2020 - 2024 Mapbox, Inc. You may use this code with your Mapbox account and under the Mapbox Terms of Service (available at: https://www.mapbox.com/legal/tos). All other rights reserved.

Generated by jazzy ♪♫ v0.14.2, a Realm project.