MQSearchAheadOptions

@interface MQSearchAheadOptions : NSObject

An object that describes the search options such as search limit, language, and feedback

  • An option whether to include feedback URLs in the results. https://developer.mapquest.com/documentation/searchahead-api/feedback/

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL includesFeedback;

    Swift

    var includesFeedback: Bool { get set }
  • The number of items returned back from the search

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) NSUInteger limit;

    Swift

    var limit: UInt { get set }
  • Language (locale) for search, nil defaults to en_US

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *language;

    Swift

    var language: String? { get set }