OfflineStructuredSearch
public final class OfflineStructuredSearch : StructuredSearch
Structured Search API.
Important
This is a Public Preview API. It may be changed or removed at any time.-
OfflineStructuredSearch init method.
Declaration
Swift
public convenience init(store: NDSStore) throws
-
Start a new search session to find the full address hierarchically with preferred locale. The locale is used to find the best representation of strings in
StructuredSearchCandidate, and can be changed later when operating withStructuredSearchSession.Throws
An error ifNDSStoreis invalid.Declaration
Swift
public func createSearchSession(locale: Locale) throws -> StructuredSearchSessionParameters
localeThe preferred
Locale.Return Value
A
StructuredSearchSessionobject that could be used to perform structured search.
OfflineStructuredSearch Class Reference