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 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 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 return StandardCategoryID.nonstandard for nil.

    Declaration

    Swift

    @available(*, deprecated, message: "This API is deprecated and will be removed with the next major release.")
    public var standard: StandardCategoryID { get }