# CompilationInfoRequestStatus

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

*** ** * ** ***


```
public final class CompilationInfoRequestStatus
```

<br />

*** ** * ** ***

Indicates the status of a shader compilation info request.

## Summary

| ### Constants |
|---|---|
| `static final int` | `https://developer.android.com/reference/androidx/webgpu/CompilationInfoRequestStatus#CallbackCancelled() = 2` Indicates the request for compilation info was cancelled. |
| `static final int` | `https://developer.android.com/reference/androidx/webgpu/CompilationInfoRequestStatus#Success() = 1` The request was successful. |

| ### Public methods |
|---|---|
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/webgpu/CompilationInfoRequestStatus#toString(kotlin.Int)(int value)` |

## Constants

### CallbackCancelled

```
public static final int CallbackCancelled = 2
```

Indicates the request for compilation info was cancelled. This typically occurs if the shader module is destroyed or the device is lost before the info could be generated.

### Success

```
public static final int Success = 1
```

The request was successful.

## Public methods

### toString

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

```
public static final @NonNull String toString(int value)
```