# SensorFusionResult.ImpreciseEstimate

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/SensorFusionResult.kt+class:androidx.core.uwb.SensorFusionResult.ImpreciseEstimate) Added in [1.1.0-alpha03](https://developer.android.com/jetpack/androidx/releases/core-uwb#1.1.0-alpha03)

*** ** * ** ***


```
public final class SensorFusionResult.ImpreciseEstimate implements SensorFusionResult.Estimate
```

<br />

*** ** * ** ***

An `https://developer.android.com/reference/androidx/core/uwb/SensorFusionResult.Estimate` backed by raw UWB range only because the odometry sensor has failed. The estimate will not have angle of arrival.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/core/uwb/SensorFusionResult.ImpreciseEstimate#ImpreciseEstimate(androidx.core.uwb.UwbDevice,androidx.core.uwb.RangingMeasurement,kotlin.Long,kotlin.Int)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/core/uwb/UwbDevice device, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/core/uwb/RangingMeasurement distance, long elapsedRealtimeNanos, int reason )` |

| ### Public methods |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/core/uwb/UwbDevice` | `https://developer.android.com/reference/androidx/core/uwb/SensorFusionResult.ImpreciseEstimate#getDevice()()` The peer UWB device. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/core/uwb/RangingMeasurement` | `https://developer.android.com/reference/androidx/core/uwb/SensorFusionResult.ImpreciseEstimate#getDistance()()` The line-of-sight distance in meters of the ranging device. |
| `long` | `https://developer.android.com/reference/androidx/core/uwb/SensorFusionResult.ImpreciseEstimate#getElapsedRealtimeNanos()()` The elapsed realtime in nanos from when the system booted up to this position estimate. |
| `final int` | `https://developer.android.com/reference/androidx/core/uwb/SensorFusionResult.ImpreciseEstimate#getReason()()` |

## Public constructors

### ImpreciseEstimate

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

```
public ImpreciseEstimate(
    @NonNull UwbDevice device,
    @NonNull RangingMeasurement distance,
    long elapsedRealtimeNanos,
    int reason
)
```

## Public methods

### getDevice

```
public @NonNull UwbDevice getDevice()
```

The peer UWB device.

### getDistance

```
public @NonNull RangingMeasurement getDistance()
```

The line-of-sight distance in meters of the ranging device.

### getElapsedRealtimeNanos

```
public long getElapsedRealtimeNanos()
```

The elapsed realtime in nanos from when the system booted up to this position estimate.

### getReason

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

```
public final int getReason()
```

Value is one of the following:

- `2`
- `3`
- `4`
- `5`
- `1`
- `6`
- `7`
- `8`

<br />