SuggestProviderConfig
public enum SuggestProviderConfig
extension SuggestProviderConfig: Equatable, Hashable
Per-provider configuration data.
-
Declaration
Swift
case weather( /** * Weather suggestion score. */score: Double, /** * Threshold for weather keyword prefix matching when a weather keyword * is the first term in a query. Zero means prefix matching is disabled * and weather keywords must be typed in full when they are first in * the query. (Ideally this would be an `Option` and `None` would mean * full keywords are required, but it's probably not worth the breaking * API change.) This threshold does not apply to city and region names. */minKeywordLength: Int32 )