# CreatePipelineAsyncStatus

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

*** ** * ** ***


```
public final class CreatePipelineAsyncStatus
```

<br />

*** ** * ** ***

Indicates the status of an asynchronous pipeline creation request.

## Summary

| ### Constants |
|---|---|
| `static final int` | `https://developer.android.com/reference/androidx/webgpu/CreatePipelineAsyncStatus#CallbackCancelled() = 2` Indicates the asynchronous pipeline creation was cancelled. |
| `static final int` | `https://developer.android.com/reference/androidx/webgpu/CreatePipelineAsyncStatus#InternalError() = 4` An internal error occurred during pipeline creation. |
| `static final int` | `https://developer.android.com/reference/androidx/webgpu/CreatePipelineAsyncStatus#Success() = 1` Pipeline creation was successful. |
| `static final int` | `https://developer.android.com/reference/androidx/webgpu/CreatePipelineAsyncStatus#ValidationError() = 3` A validation error occurred during pipeline creation. |

| ### 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/CreatePipelineAsyncStatus#toString(kotlin.Int)(int value)` |

## Constants

### CallbackCancelled

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

Indicates the asynchronous pipeline creation was cancelled. This happens if the device is lost or destroyed while the pipeline is being compiled.

### InternalError

```
public static final int InternalError = 4
```

An internal error occurred during pipeline creation.

### Success

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

Pipeline creation was successful.

### ValidationError

```
public static final int ValidationError = 3
```

A validation error occurred during pipeline creation.

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