SensorFusionParams


class SensorFusionParams : Parcelable
kotlin.Any
   ↳ android.ranging.SensorFusionParams

Represents the parameters for sensor fusion in ranging operations. Uses IMU sensors to correct HW AOA measurements. Adds a moving average filter for distance measurements to remove outliers.

Summary

Nested classes

Builder class for creating instances of SensorFusionParams.

Inherited constants
Public methods
Int

Boolean

Gets whether sensor fusion was requested.

Unit
writeToParcel(dest: Parcel, flags: Int)

Flatten this object in to a Parcel.

Properties
static Parcelable.Creator<SensorFusionParams!>

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

isSensorFusionEnabled

fun isSensorFusionEnabled(): Boolean

Gets whether sensor fusion was requested.

Return
Boolean true if sensor fusion is enabled; false otherwise.

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