/tripkit/CommonCoreLegacy/com.skedgo.tripkit.common.model.location/PoiLocation

PoiLocation

\ class PoiLocation : Location

Constructors

PoiLocation constructor()constructor(location: Location, placeId: String? = null)

Types

Name Summary
CREATOR object CREATOR : Parcelable.Creator<PoiLocation>

Properties

Name Summary
address @SerializedName(value = "address")
var address: String?
appUrl @SerializedName(value = "appUrl")
var appUrl: String?
averageRating var averageRating: Float
bearing @SerializedName(value = "bearing")
var bearing: Int
coordinateString val coordinateString: String
dateTimeZone val Location.dateTimeZone: DateTimeZone
displayAddress val displayAddress: String
displayName val displayName: String
exact @SerializedName(value = "exact")
var exact: Boolean
favouriteSortOrderIndex var favouriteSortOrderIndex: Int
id var id: String
isFavourite var isFavourite: Boolean
isNonZeroLocation val isNonZeroLocation: Boolean
lat @SerializedName(value = "lat")
var lat: Double
locationClass @SerializedName(value = "class")
var locationClass: String?
locationType open var locationType: Int
lon @SerializedName(value = "lng")
var lon: Double
mId var mId: Long
modeIdentifiers var modeIdentifiers: List<String>?
name @SerializedName(value = "name")
var name: String?
nameOrApproximateAddress val nameOrApproximateAddress: String?
operators var operators: List<Operator>?
phoneNumber @SerializedName(value = "phone")
var phoneNumber: String?
placeId var placeId: String?
popularity @SerializedName(value = "popularity")
var popularity: Int
ratingCount var ratingCount: Int
ratingImageUrl var ratingImageUrl: String?
region @SerializedName(value = "region")
var region: String?
routes val routes: List<RouteDetails>? = null
source var source: String?
timeZone @SerializedName(value = "timezone")
var timeZone: String?
url @SerializedName(value = "URL")
var url: String?
w3w @SerializedName(value = "w3w")
var w3w: String?
w3wInfoURL @SerializedName(value = "w3wInfoURL")
var w3wInfoURL: String?
withExternalApp @SerializedName(value = "withExternalApp")
var withExternalApp: Boolean

Functions

Name Summary
describeContents open override fun describeContents(): Int
distanceTo fun distanceTo(location: Location?): Int
fun distanceTo(lat: Double, lon: Double): Int
Get the distance between this and another point
equals open operator override fun equals(o: Any?): Boolean
equalsByLatLon fun equalsByLatLon(_loc: Location?): Boolean
fillFrom open fun fillFrom(other: Location?)
getBearingTo fun getBearingTo(other: Location): Double
fun getBearingTo(lat: Double, lon: Double): Double
hashCode open override fun hashCode(): Int
hasValidCoordinates fun hasValidCoordinates(): Boolean
isApproximatelyAt fun isApproximatelyAt(other: Location?): Boolean
fun isApproximatelyAt(lat: Double, lon: Double): Boolean
isFavourite fun isFavourite(favourite: Boolean)
isLooselyApproximatelyAt fun isLooselyApproximatelyAt(other: Location?): Boolean
isNear fun Location.isNear(location: Location): Boolean
writeToParcel open override fun writeToParcel(parcel: Parcel, flags: Int)