PhaseCenterOffset
class PhaseCenterOffset : Parcelable
kotlin.Any | |
↳ | android.location.GnssAntennaInfo.PhaseCenterOffset |
Class containing information about the antenna phase center offset (PCO). PCO is defined with respect to the origin of the Android sensor coordinate system, e.g., center of primary screen for mobiles - see sensor or form factor documents for details. Uncertainties are reported to 1-sigma.
Summary
Inherited constants | |
---|---|
Public constructors | |
---|---|
Public methods | |
---|---|
Int | |
Boolean | |
Double |
Returns the x-axis offset of the phase center from the origin of the Android sensor coordinate system, in millimeters. |
Double |
Returns the 1-sigma uncertainty of the x-axis offset of the phase center from the origin of the Android sensor coordinate system, in millimeters. |
Double |
Returns the y-axis offset of the phase center from the origin of the Android sensor coordinate system, in millimeters. |
Double |
Returns the 1-sigma uncertainty of the y-axis offset of the phase center from the origin of the Android sensor coordinate system, in millimeters. |
Double |
Returns the z-axis offset of the phase center from the origin of the Android sensor coordinate system, in millimeters. |
Double |
Returns the 1-sigma uncertainty of the z-axis offset of the phase center from the origin of the Android sensor coordinate system, in millimeters. |
Int |
hashCode() |
String |
toString() |
Unit |
writeToParcel(dest: Parcel, flags: Int) Flatten this object in to a Parcel. |
Properties | |
---|---|
static Parcelable.Creator<GnssAntennaInfo.PhaseCenterOffset!> |
Public constructors
PhaseCenterOffset
PhaseCenterOffset(
offsetXMm: Double,
offsetXUncertaintyMm: Double,
offsetYMm: Double,
offsetYUncertaintyMm: Double,
offsetZMm: Double,
offsetZUncertaintyMm: Double)
Public methods
describeContents
fun describeContents(): Int
Return | |
---|---|
Int |
a bitmask indicating the set of special object types marshaled by this Parcelable object instance. Value is either 0 or android.os.Parcelable#CONTENTS_FILE_DESCRIPTOR |
equals
fun equals(other: Any?): Boolean
Parameters | |
---|---|
obj |
the reference object with which to compare. |
Return | |
---|---|
Boolean |
true if this object is the same as the obj argument; false otherwise. |
getXOffsetMm
fun getXOffsetMm(): Double
Returns the x-axis offset of the phase center from the origin of the Android sensor coordinate system, in millimeters.
getXOffsetUncertaintyMm
fun getXOffsetUncertaintyMm(): Double
Returns the 1-sigma uncertainty of the x-axis offset of the phase center from the origin of the Android sensor coordinate system, in millimeters.
getYOffsetMm
fun getYOffsetMm(): Double
Returns the y-axis offset of the phase center from the origin of the Android sensor coordinate system, in millimeters.
getYOffsetUncertaintyMm
fun getYOffsetUncertaintyMm(): Double
Returns the 1-sigma uncertainty of the y-axis offset of the phase center from the origin of the Android sensor coordinate system, in millimeters.
getZOffsetMm
fun getZOffsetMm(): Double
Returns the z-axis offset of the phase center from the origin of the Android sensor coordinate system, in millimeters.
getZOffsetUncertaintyMm
fun getZOffsetUncertaintyMm(): Double
Returns the 1-sigma uncertainty of the z-axis offset of the phase center from the origin of the Android sensor coordinate system, in millimeters.
toString
fun toString(): String
Return | |
---|---|
String |
a string representation of the object. |
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 android.os.Parcelable#PARCELABLE_WRITE_RETURN_VALUE , and android.os.Parcelable.PARCELABLE_ELIDE_DUPLICATES |
Properties
CREATOR
static val CREATOR: Parcelable.Creator<GnssAntennaInfo.PhaseCenterOffset!>