# GPUInstanceLimits

Artifact: [androidx.webgpu:webgpu](https://developer.android.com/jetpack/androidx/releases/webgpu) [View Source](https://cs.android.com/search?q=file:androidx/webgpu/GPUInstanceLimits.kt+class:androidx.webgpu.GPUInstanceLimits) Added in [1.0.0-alpha06](https://developer.android.com/jetpack/androidx/releases/webgpu#1.0.0-alpha06)

*** ** * ** ***


```
public final class GPUInstanceLimits
```

<br />

*** ** * ** ***

Defines limits for an instance.

## Summary

| ### Nested types |
|---|
| `public final class https://developer.android.com/reference/androidx/webgpu/GPUInstanceLimits.Builder` Builder for `https://developer.android.com/reference/androidx/webgpu/GPUInstanceLimits`. |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/webgpu/GPUInstanceLimits#GPUInstanceLimits(kotlin.Long)(long timedWaitAnyMaxCount)` |

| ### Public methods |
|---|---|
| `final long` | `https://developer.android.com/reference/androidx/webgpu/GPUInstanceLimits#getTimedWaitAnyMaxCount()()` |
| `final void` | `https://developer.android.com/reference/androidx/webgpu/GPUInstanceLimits#setTimedWaitAnyMaxCount(kotlin.Long)(long value)` |

## Public constructors

### GPUInstanceLimits

Added in [1.0.0-alpha06](https://developer.android.com/jetpack/androidx/releases/webgpu#1.0.0-alpha06)

```
public GPUInstanceLimits(long timedWaitAnyMaxCount)
```

## Public methods

### getTimedWaitAnyMaxCount

Added in [1.0.0-alpha06](https://developer.android.com/jetpack/androidx/releases/webgpu#1.0.0-alpha06)

```
public final long getTimedWaitAnyMaxCount()
```

### setTimedWaitAnyMaxCount

Added in [1.0.0-alpha06](https://developer.android.com/jetpack/androidx/releases/webgpu#1.0.0-alpha06)

```
public final void setTimedWaitAnyMaxCount(long value)
```