# SensorFusionParameters

Artifact: [androidx.core.uwb:uwb](https://developer.android.com/jetpack/androidx/releases/core-uwb) [View Source](https://cs.android.com/search?q=file:androidx/core/uwb/SensorFusionParameters.kt+class:androidx.core.uwb.SensorFusionParameters) Added in [1.1.0-alpha03](https://developer.android.com/jetpack/androidx/releases/core-uwb#1.1.0-alpha03)

*** ** * ** ***


```
public final class SensorFusionParameters
```

<br />

*** ** * ** ***

A set of parameters for a sensor fusion session.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/core/uwb/SensorFusionParameters#SensorFusionParameters(androidx.core.uwb.RangingParameters,kotlin.Long)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/core/uwb/RangingParameters rangingParameters, long dataStalenessThresholdMillis )` |

| ### Public methods |
|---|---|
| `final long` | `https://developer.android.com/reference/androidx/core/uwb/SensorFusionParameters#getDataStalenessThresholdMillis()()` The timeout after which raw range measurements and estimates from the algorithm are considered stale. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/core/uwb/RangingParameters` | `https://developer.android.com/reference/androidx/core/uwb/SensorFusionParameters#getRangingParameters()()` The UWB ranging parameters to use. |

## Public constructors

### SensorFusionParameters

Added in [1.1.0-alpha03](https://developer.android.com/jetpack/androidx/releases/core-uwb#1.1.0-alpha03)

```
public SensorFusionParameters(
    @NonNull RangingParameters rangingParameters,
    long dataStalenessThresholdMillis
)
```

## Public methods

### getDataStalenessThresholdMillis

Added in [1.1.0-alpha03](https://developer.android.com/jetpack/androidx/releases/core-uwb#1.1.0-alpha03)

```
public final long getDataStalenessThresholdMillis()
```

The timeout after which raw range measurements and estimates from the algorithm are considered stale.

### getRangingParameters

Added in [1.1.0-alpha03](https://developer.android.com/jetpack/androidx/releases/core-uwb#1.1.0-alpha03)

```
public final @NonNull RangingParameters getRangingParameters()
```

The UWB ranging parameters to use.