SearchInAppsSDK Framework Reference

GetSearchSuggestionsOptions

@objc
final class GetSearchSuggestionsOptions

This class contains all the options necessary to request search suggestions.

  • Create options with given location data (i.e. the location context used for generating location-based search suggestions).

    Declaration

    Swift

    @objc
    init(locationContext: [LocationSuggestionsContext])
  • Create options with a given text context (i.e. the strings used for generating search suggestions).

    Declaration

    Swift

    @objc
    init(textContext: [String])
  • The information used to generate location-based search suggestions.

    Declaration

    Swift

    @objc
    final var locationContext: [LocationSuggestionsContext]?
  • The text used to generate query-based search suggestions.

    Declaration

    Swift

    @objc
    final var textContext: [String]?