StructuredSearchState

data class StructuredSearchState(val selectedCandidates: List<StructuredSearchCandidate>, val availableCandidates: List<StructuredSearchCandidate>)

A class representing the current state of StructuredSearchSession

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

Constructors

Link copied to clipboard
constructor(selectedCandidates: List<StructuredSearchCandidate>, availableCandidates: List<StructuredSearchCandidate>)

Properties

Link copied to clipboard

The available list of StructuredSearchCandidate for the address level and the clients are expected to select a candidate via StructuredSearchSession.selectCandidate to proceed to next step.

Link copied to clipboard

The previous selected list of StructuredSearchCandidate and the clients might use this to display selection on each address level.