# WindowAreaCapability

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

*** ** * ** ***


```
public final class WindowAreaCapability
```

<br />

*** ** * ** ***

Represents a capability for a `https://developer.android.com/reference/androidx/window/area/WindowArea`.

## Summary

| ### Nested types |
|---|
| `public final class https://developer.android.com/reference/androidx/window/area/WindowAreaCapability.Operation` Represents an operation that a `https://developer.android.com/reference/androidx/window/area/WindowArea` may support. |
| `public final class https://developer.android.com/reference/androidx/window/area/WindowAreaCapability.Status` Represents the status of availability for a specific `https://developer.android.com/reference/androidx/window/area/WindowAreaCapability` |

| ### Public methods |
|---|---|
| `boolean` | `https://developer.android.com/reference/androidx/window/area/WindowAreaCapability#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/area/WindowAreaCapability.Operation` | `https://developer.android.com/reference/androidx/window/area/WindowAreaCapability#getOperation()()` |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/window/area/WindowAreaCapability.Status` | `https://developer.android.com/reference/androidx/window/area/WindowAreaCapability#getStatus()()` |
| `int` | `https://developer.android.com/reference/androidx/window/area/WindowAreaCapability#hashCode()()` |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/window/area/WindowAreaCapability#toString()()` |

## Public methods

### equals

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

### getOperation

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

```
public final @NonNull WindowAreaCapability.Operation getOperation()
```

### getStatus

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

```
public final @NonNull WindowAreaCapability.Status getStatus()
```

### hashCode

```
public int hashCode()
```

### toString

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