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 | |
| Int |
Gets the non-line-of-sight value. |
| Int |
hashCode() |
| String |
toString() |
| Unit |
writeToParcel(dest: Parcel, flags: Int)Flatten this object in to a Parcel. |
| Properties | |
|---|---|
| static Parcelable.Creator<UwbSpecificData!> | |
Constants
LOS_UNDETERMINED
static val LOS_UNDETERMINED: Int
Unable to determine whether the measurement was in line of sight or not.
Value: 255Public methods
describeContents
fun describeContents(): Int
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!>