MQSearchAheadResult

@interface MQSearchAheadResult : NSObject

The result from a search query

  • An index for the position this search item should show in the results

    Declaration

    Objective-C

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

    Swift

    var positionInResults: UInt { get set }
  • The sic code for this result

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic) NSString *query;

    Swift

    var query: String! { get set }
  • A string that contains a summary of the result that is returned. Depending on the type of result returned, the displayString could include a name, street, city, state, and postal code.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic) NSString *displayString;

    Swift

    var displayString: String! { get set }
  • A string that contains the name of the result that is returned without additional summary information included.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic) NSString *name;

    Swift

    var name: String! { get set }
  • A string that contains information about the type of result that is returned.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic) NSString *recordType;

    Swift

    var recordType: String! { get set }
  • A array of strings that include the name of the collection or collections from which the result was served.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic) NSArray *collections;

    Swift

    var collections: [Any]! { get set }
  • A number that includes the a MapQuest-specific unique identifier, if applicable to the result. Generally returned with results served from the airport and poi collections. Please note: this response is now deprecated. Please use identifier.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSString *mqId;

    Swift

    var mqId: String! { get }
  • A string that includes the a MapQuest-specific unique identifier.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic) NSString *identifier;

    Swift

    var identifier: String! { get set }
  • A string that contains a URL path fragment that will link to a specific address, admin area, or POI on MapQuest.com and may include additional information like reviews and business hours of operation if applicable to the type of result returned.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic) NSString *slug;

    Swift

    var slug: String! { get set }
  • A string that contains the ISO 639-1 language code of the result that is returned.

    Declaration

    Objective-C

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

    Swift

    var language: String! { get set }
  • An object that describes the place by address and coordinates.

    Declaration

    Objective-C

    @property(nonatomic, strong) MQPlace *place

    Swift

    var place: UnsafeMutablePointer<Int32>! { get set }