Venue

data class Venue(location: Location, title: String, address: String, foursquareId: String?, foursquareType: String?, googlePlaceId: String?, googlePlaceType: String?)

This object represents a venue.

Parameters

location

Venue location. Can't be a live location

title

Name of the venue

address

Address of the venue

foursquareId

Optional. Foursquare identifier of the venue

foursquareType

Optional. Foursquare type of the venue. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)

googlePlaceId

Optional. Google Places identifier of the venue

googlePlaceType

Optional. Google Places type of the venue. (See supported types.)

Constructors

Venue
Link copied to clipboard
common
fun Venue(location: Location, title: String, address: String, foursquareId: String? = null, foursquareType: String? = null, googlePlaceId: String? = null, googlePlaceType: String? = null)
Venue location.

Functions

component1
Link copied to clipboard
common
operator fun component1(): Location
component2
Link copied to clipboard
common
operator fun component2(): String
component3
Link copied to clipboard
common
operator fun component3(): String
component4
Link copied to clipboard
common
operator fun component4(): String?
component5
Link copied to clipboard
common
operator fun component5(): String?
component6
Link copied to clipboard
common
operator fun component6(): String?
component7
Link copied to clipboard
common
operator fun component7(): String?
copy
Link copied to clipboard
common
fun copy(location: Location, title: String, address: String, foursquareId: String? = null, foursquareType: String? = null, googlePlaceId: String? = null, googlePlaceType: String? = null): Venue
equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

address
Link copied to clipboard
common
val address: String
Address of the venue
foursquareId
Link copied to clipboard
common
val foursquareId: String? = null
Optional.
foursquareType
Link copied to clipboard
common
val foursquareType: String? = null
Optional.
googlePlaceId
Link copied to clipboard
common
val googlePlaceId: String? = null
Optional.
googlePlaceType
Link copied to clipboard
common
val googlePlaceType: String? = null
Optional.
location
Link copied to clipboard
common
val location: Location
Venue location.
title
Link copied to clipboard
common
val title: String
Name of the venue