StructuredSearchResponse

public enum StructuredSearchResponse : Equatable

Defines the result of current structured search. It’s either the end of the search (its destination) or options to proceed (search candidates).

  • Contains a StructuredSearchCandidate as a destination when the search path ended.

    Declaration

    Swift

    case destination(StructuredSearchCandidate)
  • Contains a StructuredSearchState when the search path hasn’t ended. The client uses the candidates from StructuredSearchState for the SearchSession to proceed with the search.

    Declaration

    Swift

    case nextState(StructuredSearchState)