Venue

public struct Venue : Codable, Equatable, FunctionResult

Describes a venue

  • Venue location; as defined by the sender

    Declaration

    Swift

    public let location: Location
  • Venue name; as defined by the sender

    Declaration

    Swift

    public let title: String
  • Venue address; as defined by the sender

    Declaration

    Swift

    public let address: String
  • Provider of the venue database; as defined by the sender. Currently only “foursquare” needs to be supported

    Declaration

    Swift

    public let provider: String
  • id

    Identifier of the venue in the provider database; as defined by the sender

    Declaration

    Swift

    public let id: String
  • Type of the venue in the provider database; as defined by the sender

    Declaration

    Swift

    public let type: String
  • Describes a venue

    Declaration

    Swift

    public init(location: Location, title: String, address: String, provider: String, id: String, type: String)

    Parameters

    location

    Venue location; as defined by the sender

    title

    Venue name; as defined by the sender

    address

    Venue address; as defined by the sender

    provider

    Provider of the venue database; as defined by the sender. Currently only “foursquare” needs to be supported

    id

    Identifier of the venue in the provider database; as defined by the sender

    type

    Type of the venue in the provider database; as defined by the sender