AnchorLocation


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

Class to represent the anchor location.

This class is used to represent the anchor location in the ranging message. The anchor location can be either a WGS84 location, a relative location, or a combination of the two.

The anchor location can also have a Z element extension.

Summary

Constants
static Int

DT-Anchor location in relative coordinate system

static Int

Relative coordinates plus Z-element

static Int

Relative coordinate system with Z-coordinate gravity aligned

static Int

Relative coordinate system with Z-coordinate gravity aligned plus Z-element

static Int

Unknown coordinate type

static Int

DT-Anchor location in WGS-84 coordinate system

static Int

DT-Anchor location in WGS-84 coordinate system plus Z-element

Inherited constants
Public methods
Int

Boolean
equals(other: Any?)

Int

ByteArray

DlTdoaMeasurement.RelativeLocation?

DlTdoaMeasurement.Wgs84Location?

DlTdoaMeasurement.ZElementExtension?

Int

String

Unit
writeToParcel(dest: Parcel, flags: Int)

Flatten this object in to a Parcel.

Properties
static Parcelable.Creator<DlTdoaMeasurement.AnchorLocation!>

Constants

COORDINATE_RELATIVE

static val COORDINATE_RELATIVE: Int

DT-Anchor location in relative coordinate system

Value: 1

COORDINATE_RELATIVE_PLUS_Z_ELEMENT

static val COORDINATE_RELATIVE_PLUS_Z_ELEMENT: Int

Relative coordinates plus Z-element

Value: 3

COORDINATE_RELATIVE_WITH_Z_GRAVITY_ALIGNED

static val COORDINATE_RELATIVE_WITH_Z_GRAVITY_ALIGNED: Int

Relative coordinate system with Z-coordinate gravity aligned

Value: 4

COORDINATE_RELATIVE_WITH_Z_GRAVITY_ALIGNED_PLUS_Z_ELEMENT

static val COORDINATE_RELATIVE_WITH_Z_GRAVITY_ALIGNED_PLUS_Z_ELEMENT: Int

Relative coordinate system with Z-coordinate gravity aligned plus Z-element

Value: 5

COORDINATE_UNKNOWN

static val COORDINATE_UNKNOWN: Int

Unknown coordinate type

Value: 2147483647

COORDINATE_WGS84

static val COORDINATE_WGS84: Int

DT-Anchor location in WGS-84 coordinate system

Value: 0

COORDINATE_WGS84_PLUS_Z_ELEMENT

static val COORDINATE_WGS84_PLUS_Z_ELEMENT: Int

DT-Anchor location in WGS-84 coordinate system plus Z-element

Value: 2

Public methods

describeContents

fun describeContents(): Int

equals

fun equals(other: Any?): Boolean

getRawBytes

fun getRawBytes(): ByteArray
Return
ByteArray This value cannot be null.

getRelativeLocation

fun getRelativeLocation(): DlTdoaMeasurement.RelativeLocation?
Return
DlTdoaMeasurement.RelativeLocation? This value may be null.

getWgs84Location

fun getWgs84Location(): DlTdoaMeasurement.Wgs84Location?
Return
DlTdoaMeasurement.Wgs84Location? This value may be null.

getZElementExtension

fun getZElementExtension(): DlTdoaMeasurement.ZElementExtension?
Return
DlTdoaMeasurement.ZElementExtension? This value may be null.

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