Wgs84Location


class Wgs84Location : Parcelable
kotlin.Any
   ↳ android.ranging.DlTdoaMeasurement.Wgs84Location

Represents a location in the WGS-84 coordinate system.

Summary

Inherited constants
Public methods
Int

Boolean
equals(other: Any?)

Double

Returns the altitude in meters.

Double

Returns the latitude in degrees.

Double

Returns the longitude in degrees.

Int

String

Unit
writeToParcel(dest: Parcel, flags: Int)

Flatten this object in to a Parcel.

Properties
static Parcelable.Creator<DlTdoaMeasurement.Wgs84Location!>

Public methods

describeContents

fun describeContents(): Int

equals

fun equals(other: Any?): Boolean

getAltitude

fun getAltitude(): Double

Returns the altitude in meters.

The unit is kilometer and the resolution of this value is about 0.476 mm.

Return
Double Value is between -256.0f and 256.0f inclusive

getLatitude

fun getLatitude(): Double

Returns the latitude in degrees.

The ranging of this value is [-90, 90] with about 6.66 mm resolution.

Return
Double Value is between -90.0f and 90.0f inclusive

getLongitude

fun getLongitude(): Double

Returns the longitude in degrees.

The ranging of this value is [-180, 180] with about 6.66 mm resolution.

Return
Double Value is between -180.0f and 180.0f inclusive

hashCode

fun hashCode(): Int

toString

fun toString(): String

writeToParcel

fun writeToParcel(
    dest: Parcel,
    flags: Int
): Unit

Flatten this object in to a Parcel.

Parameters
dest Parcel: This value cannot be null.
flags Int: Additional flags about how the object should be written. May be 0 or PARCELABLE_WRITE_RETURN_VALUE.
Value is either 0 or a combination of the following:

Properties

CREATOR

static val CREATOR: Parcelable.Creator<DlTdoaMeasurement.Wgs84Location!>