# QueueWorkDoneStatus

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

*** ** * ** ***


```
public final class QueueWorkDoneStatus
```

<br />

*** ** * ** ***

Indicates the status of a queue work done callback.

## Summary

| ### Constants |
|---|---|
| `static final int` | `https://developer.android.com/reference/androidx/webgpu/QueueWorkDoneStatus#CallbackCancelled() = 2` Indicates the work done notification was cancelled. |
| `static final int` | `https://developer.android.com/reference/androidx/webgpu/QueueWorkDoneStatus#Error() = 3` A deterministic error occurred. |
| `static final int` | `https://developer.android.com/reference/androidx/webgpu/QueueWorkDoneStatus#Success() = 1` The work was completed successfully. |

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

## Constants

### CallbackCancelled

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

Indicates the work done notification was cancelled. This occurs if the device is lost or the queue is destroyed before the submitted work finishes.

### Error

```
public static final int Error = 3
```

A deterministic error occurred.

### Success

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

The work was completed successfully.

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