Waypoint

open class Waypoint : Parcelable

Represents a geographic location.

Constructors

Link copied to clipboard
constructor(latitude: Double, longitude: Double, timestamp: Long, accuracyInMeters: Int, speedInMps: Float, speedLimitInMps: Float, isSynthetic: Boolean)
constructor(latitude: Double, longitude: Double, timestamp: Long, accuracyInMeters: Int, speedInMps: Float, speedLimitInMps: Float)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open fun describeContents(): Int
Link copied to clipboard
open fun equals(@Nullable o: Any): Boolean
Link copied to clipboard
Returns the accuracy in meters.
Link copied to clipboard
open fun getLatitude(): Double
Returns the latitude in degrees.
Link copied to clipboard
open fun getLongitude(): Double
Returns the longitude in degrees.
Link copied to clipboard
open fun getSpeedInMps(): Float
Return the speed at the time of the location of this waypoint, in meters per second.
Link copied to clipboard
Return the speed limit at the location of this waypoint, in meters per second.
Link copied to clipboard
open fun getTimestamp(): Long
Return the UTC time of this waypoint, in milliseconds since epoch (January 1, 1970).
Link copied to clipboard
open fun hasAccuracy(): Boolean
Returns true if this location has a horizontal accuracy, false otherwise.
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun hasSpeed(): Boolean
Returns true if this location has a determined speed, false otherwise.
Link copied to clipboard
Returns true if this waypoint has an unlimited speed limit, false otherwise.
Link copied to clipboard
Returns true if this waypoint has a speed limit, false otherwise.
Link copied to clipboard
open fun isSynthetic(): Boolean
Returns true if this waypoint was interpolated, false otherwise.
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
open fun writeToParcel(@NonNull dest: Parcel, flags: Int)