# AugmentedImageDatabaseEntryMode

Artifact: [androidx.xr.runtime:runtime](https://developer.android.com/jetpack/androidx/releases/xr-runtime) [View Source](https://cs.android.com/search?q=file:androidx/xr/runtime/AugmentedImageDatabaseEntry.kt+class:androidx.xr.runtime.AugmentedImageDatabaseEntryMode) Added in [1.0.0-beta02](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0-beta02)

*** ** * ** ***


```
public final class AugmentedImageDatabaseEntryMode
```

<br />

*** ** * ** ***

The mode the augmented image is being detected with

## Summary

| ### Public fields |
|---|---|
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/AugmentedImageDatabaseEntryMode` | `https://developer.android.com/reference/androidx/xr/runtime/AugmentedImageDatabaseEntryMode#DYNAMIC()` Mode with the highest accuracy and the lowest latency. |
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/AugmentedImageDatabaseEntryMode` | `https://developer.android.com/reference/androidx/xr/runtime/AugmentedImageDatabaseEntryMode#STATIC()` Mode used to track images that are known to be static or semi-static. |

| ### Public methods |
|---|---|
| `final int` | `https://developer.android.com/reference/androidx/xr/runtime/AugmentedImageDatabaseEntryMode#getMode()()` |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/xr/runtime/AugmentedImageDatabaseEntryMode#toString()()` Returns a string representation of `https://developer.android.com/reference/androidx/xr/runtime/AugmentedImageDatabaseEntryMode` for debugging. |

## Public fields

### DYNAMIC

```
public static final @NonNull AugmentedImageDatabaseEntryMode DYNAMIC
```

Mode with the highest accuracy and the lowest latency. Used for tracking moving images. It has the highest power consumption

### STATIC

```
public static final @NonNull AugmentedImageDatabaseEntryMode STATIC
```

Mode used to track images that are known to be static or semi-static. It has less power consumption in comparison to dynamic mode. If a static image is moving, it will be updated with a much higher latency

## Public methods

### getMode

Added in [1.0.0-beta02](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0-beta02)

```
public final int getMode()
```

### toString

```
public @NonNull String toString()
```

Returns a string representation of `https://developer.android.com/reference/androidx/xr/runtime/AugmentedImageDatabaseEntryMode` for debugging.

Note: Not intended for production use.