Package-level declarations

Includes the Structured Search related models, applicable in the implementation of the Structured Search provider.

Types

Link copied to clipboard

CandidateType represents the address level type for each StructuredSearchCandidate.

Link copied to clipboard
data class StructuredSearchCandidate(val candidateType: CandidateType, val place: Place, val displayString: String, val supplementaryString: String = "")

Class represents a step in the structured search process or the final destination. A user proceeds with structured search using StructuredSearchSession by selecting next candidate.

Link copied to clipboard

A session represents the current state of the structured search process.

Link copied to clipboard
data class StructuredSearchState(val selectedCandidates: List<StructuredSearchCandidate>, val availableCandidates: List<StructuredSearchCandidate>)

Represents current state of StructuredSearchSession during the structured (hierarchical) search. StructuredSearchState is provided by the search session until the search reaches the destination.