PoiCategory
public struct PoiCategory
Structure containing POI category details.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Creates a new PoiCategory
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public init( id: PoiCategoryId, name: String, parents: [PoiCategoryId] = [], children: [PoiCategoryId] = [], synonyms: [String] = [] )
-
Unique ID for the category.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public let id: PoiCategoryId
-
Name of the category.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public let name: String
-
The parent category identifiers for the given category.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public let parents: [PoiCategoryId]
-
The children of the category.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public let children: [PoiCategoryId]
-
List of alternative names for the category.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public let synonyms: [String]