Package-level declarations

Types

Link copied to clipboard
data class Category(val id: String? = null, val name: String? = null, val shortName: String? = null, val pluralName: String? = null, icon: Photo? = null, val isPrimary: Boolean = false, val categories: List<Category> = emptyList()) : FoursquareType, Parcelable

Data class of a category associated to a Venue.

Link copied to clipboard
interface FoursquareType
Link copied to clipboard
data class Journey(journeyId: String, val status: Journey.Status, val destinationVenue: Venue?, val destinationGeofence: Geofence?, val start: Long, val eta: Long) : FoursquareType, Parcelable

Represents a journey to a Foursquare venue or geofence

Link copied to clipboard

The type of destination of a journey. {@link VENUE} {@link GEOFENCE}

Link copied to clipboard
data class LatLng(var latitude: Double, var longitude: Double) : Parcelable

This class represents a single location point in in a geographical space.

Link copied to clipboard
data class Photo(var id: String? = null, var createdAt: Long = 0, var prefix: String? = null, var suffix: String? = null, var url: String? = null, var width: Int = 0, var height: Int = 0, var name: String? = null, var sizes: IntArray? = null) : FoursquareType, Parcelable

Data class representing a photo information, such as url, width and height. This is used in venues and categories.

Link copied to clipboard

A base class for holding a Response from our API Version 2. Contains meta data such as reponse code, requestId, and error data. If the request was successful a result object of type T will be in the field result.

Link copied to clipboard
data class Segment(val segmentId: Int = 0, val name: String) : Parcelable

Data class representing a segment. Visits contains segments attached to them, to provide a better context of the visit.

Link copied to clipboard
data class StopRegion(val lat: Double = 0.0, val lng: Double = 0.0, val radius: Double = 0.0) : FoursquareType, Parcelable

This region object is a circular geofence region used monitor for geolocation exit events.

Link copied to clipboard
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.