SearchResultType

public struct SearchResultType : Hashable
extension SearchResultType: Equatable
extension SearchResultType: CustomStringConvertible

The type of search result.

Important

This is a Public Preview API. It may be changed or removed at any time.

Lifecycle

  • Create a SearchResultType from online result type string. Should not be called by SDK users.

    Declaration

    Swift

    public init(onlineResultType: String)
  • Create a SearchResultType from onboard result type string. Should not be called by SDK users.

    Declaration

    Swift

    public init(onboardResultType: String)

Public

  • A result containing address ranges. For some streets, address points are interpolated along the street from beginning to end of the street. These points are represented as address ranges.

    Declaration

    Swift

    public static let address: SearchResultType
  • A result containing areas on the map that represent administrative divisions of a land such as country, state, or city.

    Declaration

    Swift

    public static let area: SearchResultType
  • poi

    A result containing points of interest (POIs) - points on the map that are worth attention and may be interesting.

    Declaration

    Swift

    public static let poi: SearchResultType
  • A result containing streets from the map.

    Declaration

    Swift

    public static let street: SearchResultType
  • A result containing intersections - places where two streets cross.

    Declaration

    Swift

    public static let crossStreet: SearchResultType

Equatable

  • Compares two SearchResultType instances for equality

    Important

    This is a Public Preview API. It may be changed or removed at any time.

    Declaration

    Swift

    public static func == (lhs: SearchResultType, rhs: SearchResultType) -> Bool

CustomStringConvertible

  • A textual representation of SearchResultType instance.

    Important

    This is a Public Preview API. It may be changed or removed at any time.

    Declaration

    Swift

    public var description: String { get }