UwbSpecificData


class UwbSpecificData : Parcelable
kotlin.Any
   ↳ android.ranging.uwb.UwbSpecificData

Represents the android.ranging.RangingManager.RangingTechnology#UWB specific data. This is generally used by algorithms for fine tuning ranging data.

Summary

Constants
static Int

If measurement was in line of sight.

static Int

Unable to determine whether the measurement was in line of sight or not.

static Int

If measurement was not in line of sight.

Inherited constants
Public methods
Int

Boolean
equals(other: Any?)

Int

Gets the non-line-of-sight value.

Int

String

Unit
writeToParcel(dest: Parcel, flags: Int)

Flatten this object in to a Parcel.

Properties
static Parcelable.Creator<UwbSpecificData!>

Constants

LOS

static val LOS: Int

If measurement was in line of sight.

Value: 0

LOS_UNDETERMINED

static val LOS_UNDETERMINED: Int

Unable to determine whether the measurement was in line of sight or not.

Value: 255

NLOS

static val NLOS: Int

If measurement was not in line of sight.

Value: 1

Public methods

describeContents

fun describeContents(): Int

equals

fun equals(other: Any?): Boolean

getNonLineOfSight

fun getNonLineOfSight(): Int

Gets the non-line-of-sight value.

Return
Int the non-line-of-sight value.
Value is one of the following:
Exceptions
java.lang.IllegalStateException if non-line-of-sight is not set.

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<UwbSpecificData!>