POICategory
@objcMembers
public class POICategory : Codable
Class containing POI category details.
Important
This is a Public Preview API. It may be changed or removed at any time.-
POICategory init method.
Declaration
Swift
public init( id: Int, name: String, childCategoryIds: [Int], synonyms: [String] )
Parameters
id
Unique ID for the category.
name
Name of the category.
childCategoryIds
List of subcategory IDs.
synonyms
List of alternative names for the category.
-
Unique ID for the category.
Declaration
Swift
public let id: Int
-
Name of the category.
Declaration
Swift
public let name: String
-
List of subcategories IDs.
Declaration
Swift
public let childCategoryIds: [Int]
-
List of alternative names for the category.
Declaration
Swift
public let synonyms: [String]