Venue
data class Venue(var id: String, var name: String, var location: Venue.Location = Location(), var partnerVenueId: String? = null, var probability: Double = 0.0, var categories: List<Category> = emptyList(), var venueChains: List<Venue.VenueChain> = emptyList(), var hierarchy: List<Venue.VenueParent> = emptyList()) : FoursquareType, Parcelable
Data class containing Venue data such as id, name, and location.
Constructors
Link copied to clipboard
Link copied to clipboard
fun Venue(id: String, name: String, location: Venue.Location = Location(), partnerVenueId: String? = null, probability: Double = 0.0, categories: List<Category> = emptyList(), venueChains: List<Venue.VenueChain> = emptyList(), hierarchy: List<Venue.VenueParent> = emptyList())
Types
Link copied to clipboard
data class Location(var lat: Double = 0.0, var lng: Double = 0.0, var address: String? = null, var city: String? = null, var crossStreet: String? = null, var distance: Int = -1, var postalCode: String? = null, var state: String? = null, var country: String? = null, var formattedAddress: List<String> = emptyList()) : FoursquareType, Parcelable
All of the attributes about where Venue is.
Link copied to clipboard
Link copied to clipboard
data class VenueParent(var id: String? = null, var name: String? = null, var categories: List<Category> = emptyList(), lang: String? = null, canonicalUrl: String? = null) : FoursquareType, Parcelable