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
standardID of a TomTom standard category.
mapSpecificmap-specific ID.
-
Creates a new instance of the
POICategoryIDwith bothstandardIDandmapSpecificIDspecified.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.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.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.Declaration
Swift
public let mapSpecificID: String? -
The ID of a TomTom standard category. This is an alias to
standardand returns nil fornonstandardcase.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
standardIDexcept it will returnStandardCategoryID.nonstandardfornil.Declaration
Swift
@available(*, deprecated, message: "This API is deprecated and will be removed with the next major release.") public var standard: StandardCategoryID { get }
TomTom SDK for iOS (0.54.0)
POICategoryID