AutocompleteSegmentBrand
public struct AutocompleteSegmentBrand
Represents a recognized autocomplete result defined by a Brand
(e.g., “BMW” car brand).
Use provided Brand
in the SearchOptions.brands
to continue searching for places with the given brand.
AutocompleteSegmentBrand
is part of the AutocompleteSegment
definition to describe brand-related information in the autocomplete search results.
For example the query “BM” can return an autocomplete search result with the brand segment and the query “BMW”.
The brand information included in the segment.
For example, the query “BM” can return autocomplete search results with the brand “BMW”.
Declaration
Swift
public let brand: Brand
Creates a brand autocomplete segment.
Declaration
Swift
public init(brand: Brand)
Parameters
brand
|
The brand information to be included in the segment. |