POICategoryID
public struct POICategoryID : Hashable
POI category ID.
-
Creates a new instance of the
POICategoryID
.Declaration
Swift
@available(*, deprecated, message: " This API is deprecated and will be removed with the next major release.\n Please use ``POICategoryID(standardID:, mapSpecificID:﹚`` or ``POICategoryID(standardID:﹚`` instead.") public init(standard: StandardCategoryID, mapSpecific: String? = nil)
Parameters
standard
ID of a TomTom standard category.
mapSpecific
map-specific ID.
-
Creates a new instance of the
POICategoryID
with bothstandardID
andmapSpecificID
specified.Declaration
Swift
public init(standardID: StandardCategoryID, mapSpecificID: String)
Parameters
standardID
ID of a TomTom standard category.
mapSpecificID
map-specific ID.
-
Creates a new instance of the
POICategoryID
withstandardID
specified.Declaration
Swift
public init(standardID: StandardCategoryID)
Parameters
standardID
ID of a TomTom standard category.
-
Creates a new instance of the
POICategoryID
withmapSpecificID
specified. OptionalstandardID
property will returnnil
, and the non-optionalstandard
property will returnStandardCategoryID.nonstandard
.Declaration
Swift
public init(mapSpecificID: String)
Parameters
mapSpecificID
map-specific ID.
-
The map-specific identifier without any semantic information. This is an alias to
mapSpecific
. Useful for offline search.Declaration
Swift
public let mapSpecificID: String?
-
The ID of a TomTom standard category. This is an alias to
standard
and returns nil fornonstandard
case.Declaration
Swift
public let standardID: StandardCategoryID?
-
The map-specific identifier without any semantic information. Useful for offline search.
Declaration
Swift
@available(*, deprecated, message: " This API is deprecated and will be removed with the next major release.\n Please use POICategoryID.mapSpecificID instead.") public var mapSpecific: String? { get }
-
The ID of the POI category. This is identical to
standardID
except it will returnStandardCategoryID.nonstandard
fornil
.Declaration
Swift
@available(*, deprecated, message: "This API is deprecated and will be removed with the next major release.") public var standard: StandardCategoryID { get }