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

*** ** * ** ***


```
class QueueWorkDoneStatus
```

<br />

*** ** * ** ***

Indicates the status of a queue work done callback.

## Summary

| ### Constants |
|---|---|
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/QueueWorkDoneStatus#CallbackCancelled() = 2` Indicates the work done notification was cancelled. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/QueueWorkDoneStatus#Error() = 3` A deterministic error occurred. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/QueueWorkDoneStatus#Success() = 1` The work was completed successfully. |

| ### Public companion functions |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/QueueWorkDoneStatus#toString(kotlin.Int)(value: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` |

## Constants

### CallbackCancelled

```
const val CallbackCancelled = 2: Int
```

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

```
const val Error = 3: Int
```

A deterministic error occurred.

### Success

```
const val Success = 1: Int
```

The work was completed successfully.

## Public companion functions

### toString

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

```
fun toString(value: Int): String
```