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)

Equatable

  • Declaration

    Swift

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

CustomStringConvertible

  • Declaration

    Swift

    public var description: String { get }