StructuredSearchCandidate
Class representing a single candidate item.
Important: This is a Public Preview API. It may be changed or removed at any time.
Constructors
Properties
The address level type.
The string representing the candidate and usually used to display to end user. The string depends on the language of StructuredSearch.createSearchSession. E.g. "Tokyo" in English, and "東京都" in Japanese.
The supplementary string is an alternative representation of the candidate, the string is not for displaying but maybe used to create interface elements such as buttons or selection tools. The context and usage depend on language and region, and could be empty if not applicable. E.g. the supplementary string is "トウキヨウ" (Tokyo written in Katakana) while the display string is "東京都" (Tokyo written in Kanji).