POICategoryID
public struct POICategoryID : Hashable
POI category ID.
-
Creates a new instance of the
POICategoryID.Declaration
Swift
public init(standard: StandardCategoryID, mapSpecific: String? = nil)Parameters
standardID of a TomTom standard category.
mapSpecificmap-specific ID.
-
Creates a new instance of the
POICategoryIDwith bothstandardIDandmapSpecificIDspecified.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public init(standardID: StandardCategoryID, mapSpecificID: String)Parameters
standardIDID of a TomTom standard category.
mapSpecificIDmap-specific ID.
-
Creates a new instance of the
POICategoryIDwithstandardIDspecified.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public init(standardID: StandardCategoryID)Parameters
standardIDID of a TomTom standard category.
-
Creates a new instance of the
POICategoryIDwithmapSpecificIDspecified. OptionalstandardIDproperty will returnnil, and the non-optionalstandardproperty will returnStandardCategoryID.nonstandard.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public init(mapSpecificID: String)Parameters
mapSpecificIDmap-specific ID.
-
The map-specific identifier without any semantic information. This is an alias to
mapSpecific. Useful for offline search.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public let mapSpecificID: String? -
The ID of a TomTom standard category. This is an alias to
standardand returns nil fornonstandardcase.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public let standardID: StandardCategoryID? -
The map-specific identifier without any semantic information. Useful for offline search.
Declaration
Swift
public var mapSpecific: String? { get } -
The ID of the POI category. This is identical to
standardIDexcept it will returnStandardCategoryID.nonstandardfornil.Declaration
Swift
public var standard: StandardCategoryID { get }
TomTom SDK for iOS (0.51.1)
POICategoryID