TTSearchResult

@interface TTSearchResult : NSObject

TTSearchResult

  • The id of result.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) NSString *_Nonnull identifier;

    Swift

    var identifier: String { get }
  • The type of result (should always be POI).

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) NSString *_Nonnull type;

    Swift

    var type: String { get }
  • The score of the result.

    Declaration

    Objective-C

    @property (readonly, assign, nonatomic) double score;

    Swift

    var score: Double { get }
  • Detailed address of the result.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) TTAddress *_Nonnull address;

    Swift

    var address: TTAddress { get }
  • The geographical position of the POI.

    Declaration

    Objective-C

    @property (readonly, nonatomic) CLLocationCoordinate2D position;

    Swift

    var position: CLLocationCoordinate2D { get }
  • The viewport.

    Declaration

    Objective-C

    @property(nonatomic, readonly, strong) TTBoundingBox *_Nonnull viewport

    Swift

    var viewport: UnsafeMutablePointer<Int32> { get }
  • The distance from the route provided in the request.

    Declaration

    Objective-C

    @property (readonly, assign, nonatomic) double distance;

    Swift

    var distance: Double { get }
  • Additional info.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) NSString *_Nonnull info;

    Swift

    var info: String { get }
  • (Only for results of type Geography) Type of the entity (one of County, CountrySubdivision, CountrySecondarySubdivision, CountryTeritarySubdivision, Municipality, MunicipalitySubdivision, Neighbourhood, PostalCodeArea).

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) NSString *_Nullable entityType;

    Swift

    var entityType: String? { get }
  • poi

    Information about the POI.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) TTPoi *_Nullable poi;

    Swift

    var poi: TTPoi? { get }
  • An rectangle into which a shape of an administrative area is inscribed in. Available only for results where result type is equal to Geography and municipality information is not present.

    Declaration

    Objective-C

    @property(nonatomic, readonly, strong) TTBoundingBox *_Nullable boundingbox

    Swift

    var boundingbox: UnsafeMutablePointer<Int32>? { get }
  • A list of entrances to the POI.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic)
        NSArray<TTEntryPoint *> *_Nullable entryPoints;

    Swift

    var entryPoints: [TTEntryPoint]? { get }
  • Address ranges on a street segment. Available only for results where result type is equal to Address Range.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) TTAddressRanges *_Nullable addressRanges;

    Swift

    var addressRanges: TTAddressRanges? { get }
  • Additional data sources related with result.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic)
        TTAdditionalDataSources *_Nullable additionalDataSources;

    Swift

    var additionalDataSources: TTAdditionalDataSources? { get }