# EmbeddingConfiguration

Artifact: [androidx.window:window](https://developer.android.com/jetpack/androidx/releases/window) [View Source](https://cs.android.com/search?q=file:androidx/window/embedding/EmbeddingConfiguration.kt+class:androidx.window.embedding.EmbeddingConfiguration) Added in [1.4.0](https://developer.android.com/jetpack/androidx/releases/window#1.4.0)

*** ** * ** ***


```
public final class EmbeddingConfiguration
```

<br />

*** ** * ** ***

Configurations of Activity Embedding environment that defines how the embedded Activities behave.

| See also |
|---|---|
| `https://developer.android.com/reference/androidx/window/embedding/EmbeddingConfiguration.Builder` |   |
| `https://developer.android.com/reference/androidx/window/embedding/ActivityEmbeddingController#setEmbeddingConfiguration(androidx.window.embedding.EmbeddingConfiguration)` |   |

## Summary

| ### Nested types |
|---|
| `public final class https://developer.android.com/reference/androidx/window/embedding/EmbeddingConfiguration.Builder` Builder for creating an instance of `https://developer.android.com/reference/androidx/window/embedding/EmbeddingConfiguration`. |
| `public final class https://developer.android.com/reference/androidx/window/embedding/EmbeddingConfiguration.DimAreaBehavior` The area of dimming to apply. |

| ### Public methods |
|---|---|
| `boolean` | `https://developer.android.com/reference/androidx/window/embedding/EmbeddingConfiguration#equals(kotlin.Any)(https://developer.android.com/reference/java/lang/Object.html other)` |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/window/embedding/EmbeddingConfiguration.DimAreaBehavior` | `https://developer.android.com/reference/androidx/window/embedding/EmbeddingConfiguration#getDimAreaBehavior()()` The requested dim area behavior. |
| `int` | `https://developer.android.com/reference/androidx/window/embedding/EmbeddingConfiguration#hashCode()()` |
| `final boolean` | `https://developer.android.com/reference/androidx/window/embedding/EmbeddingConfiguration#isAutoSaveEmbeddingState()()` Is auto-save embedding state enabled. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/window/embedding/EmbeddingConfiguration#toString()()` |

## Public methods

### equals

```
public boolean equals(Object other)
```

### getDimAreaBehavior

Added in [1.4.0](https://developer.android.com/jetpack/androidx/releases/window#1.4.0)

```
public final @NonNull EmbeddingConfiguration.DimAreaBehavior getDimAreaBehavior()
```

The requested dim area behavior.

### hashCode

```
public int hashCode()
```

### isAutoSaveEmbeddingState

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/window#1.5.0)

```
public final boolean isAutoSaveEmbeddingState()
```

Is auto-save embedding state enabled.

### toString

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