PlaceFoodType

public struct PlaceFoodType : Hashable

Parameters related to HERE Places cuisine system.

  • id

    Identifier for an associated food type. For example, the food type ID “200-000” represents the unique culture and flavor of Asia. The complete list of supported food type IDs can be found here.

    Declaration

    Swift

    public var id: String
  • Name of the food type in the requested language. Ignored when used in PlaceFilter.

    Declaration

    Swift

    public var name: String?
  • Whether or not it is a primary food type.

    Declaration

    Swift

    public var primary: Bool
  • Creates a new instance.

    Declaration

    Swift

    public init(id: String, name: String? = nil, primary: Bool = false)