POICategoryID

public struct POICategoryID : Hashable

POI category ID.

  • Creates a new instance of the POICategoryID.

    Refrain from using this initializer. Use POICategoryID(standardID:, mapSpecificID:) or POICategoryID(standardID:) initializers instead.

    Declaration

    Swift

    @available(*, deprecated, message: "  This will be removed from future releases after 2026-07-15.\n  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 both standardID and mapSpecificID 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 with standardID specified.

    Declaration

    Swift

    public init(standardID: StandardCategoryID)

    Parameters

    standardID

    ID of a TomTom standard category.

  • Creates a new instance of the POICategoryID with mapSpecificID specified. Optional standardID property will return nil, and the non-optional standard property will return StandardCategoryID.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 for nonstandard 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 will be removed from future releases after 2026-07-15.\n  Use POICategoryID.mapSpecificID instead.")
    public var mapSpecific: String? { get }
  • The ID of the POI category. This is identical to standardID except it will return StandardCategoryID.nonstandard for nil.

    Declaration

    Swift

    @available(*, deprecated, message: "This will be removed from future releases after 2026-07-15.")
    public var standard: StandardCategoryID { get }