# WindowAreaCapability

# 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)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/window/area/WindowAreaCapability "View this page in Java")

<br />

```
@ExperimentalWindowApi
class WindowAreaCapability
```

<br />

*** ** * ** ***

Represents a capability for a[WindowAreaInfo](https://developer.android.com/reference/kotlin/androidx/window/area/WindowAreaInfo).

## Summary

|                                                                                                                                                                                                         ### Nested types                                                                                                                                                                                                          |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `@`[ExperimentalWindowApi](https://developer.android.com/reference/kotlin/androidx/window/core/ExperimentalWindowApi) `class `[WindowAreaCapability.Operation](https://developer.android.com/reference/kotlin/androidx/window/area/WindowAreaCapability.Operation) Represents an operation that a[WindowAreaInfo](https://developer.android.com/reference/kotlin/androidx/window/area/WindowAreaInfo)may support.                 |
| `@`[ExperimentalWindowApi](https://developer.android.com/reference/kotlin/androidx/window/core/ExperimentalWindowApi) `class `[WindowAreaCapability.Status](https://developer.android.com/reference/kotlin/androidx/window/area/WindowAreaCapability.Status) Represents the status of availability for a specific[WindowAreaCapability](https://developer.android.com/reference/kotlin/androidx/window/area/WindowAreaCapability) |

|                                        ### Public functions                                         |
|-----------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `open operator `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) | [equals](https://developer.android.com/reference/kotlin/androidx/window/area/WindowAreaCapability#equals(kotlin.Any))`(other: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`?)` |
| `open `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)                  | [hashCode](https://developer.android.com/reference/kotlin/androidx/window/area/WindowAreaCapability#hashCode())`()`                                                                                            |
| `open `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)            | [toString](https://developer.android.com/reference/kotlin/androidx/window/area/WindowAreaCapability#toString())`()`                                                                                            |

|                                                        ### Public properties                                                         |
|--------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------|
| [WindowAreaCapability.Operation](https://developer.android.com/reference/kotlin/androidx/window/area/WindowAreaCapability.Operation) | [operation](https://developer.android.com/reference/kotlin/androidx/window/area/WindowAreaCapability#operation()) |
| [WindowAreaCapability.Status](https://developer.android.com/reference/kotlin/androidx/window/area/WindowAreaCapability.Status)       | [status](https://developer.android.com/reference/kotlin/androidx/window/area/WindowAreaCapability#status())       |

## Public functions

### equals

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

### hashCode

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

### toString

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

## Public properties

### operation

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

```
val operation: WindowAreaCapability.Operation
```  

### status

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

```
val status: WindowAreaCapability.Status
```