# WindowEngagementInfo.EngagementMode

Artifact: [androidx.window:window](https://developer.android.com/jetpack/androidx/releases/window) [View Source](https://cs.android.com/search?q=file:androidx/window/layout/WindowEngagementInfo.kt+class:androidx.window.layout.WindowEngagementInfo.EngagementMode) Added in [1.6.0-alpha05](https://developer.android.com/jetpack/androidx/releases/window#1.6.0-alpha05)

*** ** * ** ***


```
class WindowEngagementInfo.EngagementMode
```

<br />

*** ** * ** ***

Represents a distinct user engagement mode with an application.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/window/layout/WindowEngagementInfo#engagementModes()` |   |

## Summary

| ### Public companion properties |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/window/layout/WindowEngagementInfo.EngagementMode` | `https://developer.android.com/reference/kotlin/androidx/window/layout/WindowEngagementInfo.EngagementMode#AUDIO_ON()` Indicates the engagement mode includes an audio presentation. |
| `https://developer.android.com/reference/kotlin/androidx/window/layout/WindowEngagementInfo.EngagementMode` | `https://developer.android.com/reference/kotlin/androidx/window/layout/WindowEngagementInfo.EngagementMode#PRECISE_POINTER()` Indicates the engagement mode is optimized for precise pointer layout. |
| `https://developer.android.com/reference/kotlin/androidx/window/layout/WindowEngagementInfo.EngagementMode` | `https://developer.android.com/reference/kotlin/androidx/window/layout/WindowEngagementInfo.EngagementMode#TOUCH()` Indicates the engagement mode is optimized for touch layout. |
| `https://developer.android.com/reference/kotlin/androidx/window/layout/WindowEngagementInfo.EngagementMode` | `https://developer.android.com/reference/kotlin/androidx/window/layout/WindowEngagementInfo.EngagementMode#VISUALS_ON()` Indicates the engagement mode includes a visual presentation. |

| ### Public functions |
|---|---|
| `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/window/layout/WindowEngagementInfo.EngagementMode#equals(kotlin.Any)(other: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/window/layout/WindowEngagementInfo.EngagementMode#hashCode()()` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/window/layout/WindowEngagementInfo.EngagementMode#toString()()` |

## Public companion properties

### AUDIO_ON

```
val AUDIO_ON: WindowEngagementInfo.EngagementMode
```

Indicates the engagement mode includes an audio presentation. This can be active with or without `https://developer.android.com/reference/kotlin/androidx/window/layout/WindowEngagementInfo.EngagementMode#VISUALS_ON()`. When active without visuals, it signifies an audio-only experience.

### PRECISE_POINTER

```
val PRECISE_POINTER: WindowEngagementInfo.EngagementMode
```

Indicates the engagement mode is optimized for precise pointer layout. This mode is usually active when a physical keyboard and a physical mouse or touchpad are connected and enabled on a large screen device. This mode is mutually exclusive with `https://developer.android.com/reference/kotlin/androidx/window/layout/WindowEngagementInfo.EngagementMode#TOUCH()`.

### TOUCH

```
val TOUCH: WindowEngagementInfo.EngagementMode
```

Indicates the engagement mode is optimized for touch layout. This is usually the default engagement layout mode. This mode is mutually exclusive with `https://developer.android.com/reference/kotlin/androidx/window/layout/WindowEngagementInfo.EngagementMode#PRECISE_POINTER()`.

### VISUALS_ON

```
val VISUALS_ON: WindowEngagementInfo.EngagementMode
```

Indicates the engagement mode includes a visual presentation. When this mode is active, the user can visually see the app UI on a visible window.

## Public functions

### equals

```
open operator fun equals(other: Any?): Boolean
```

### hashCode

```
open fun hashCode(): Int
```

### toString

```
open fun toString(): String
```