# LoadBundleTaskProgress.TaskState

# LoadBundleTaskProgress.TaskState


```
public enum LoadBundleTaskProgress.TaskState
```

<br />

*** ** * ** ***

Represents the state of bundle loading tasks.

Both `https://firebase.google.com/docs/reference/android/com/google/firebase/firestore/LoadBundleTaskProgress.TaskState#SUCCESS` and `https://firebase.google.com/docs/reference/android/com/google/firebase/firestore/LoadBundleTaskProgress.TaskState#ERROR` are final states: task will abort or complete and there will be no more updates after they are reported.

## Summary

| ### Enum Values |
|---|---|
| `https://firebase.google.com/docs/reference/android/com/google/firebase/firestore/LoadBundleTaskProgress.TaskState#ERROR` |   |
| `https://firebase.google.com/docs/reference/android/com/google/firebase/firestore/LoadBundleTaskProgress.TaskState#RUNNING` |   |
| `https://firebase.google.com/docs/reference/android/com/google/firebase/firestore/LoadBundleTaskProgress.TaskState#SUCCESS` |   |

| ### Public methods |
|---|---|
| `static https://firebase.google.com/docs/reference/android/com/google/firebase/firestore/LoadBundleTaskProgress.TaskState` | `https://firebase.google.com/docs/reference/android/com/google/firebase/firestore/LoadBundleTaskProgress.TaskState#valueOf(java.lang.String)(https://developer.android.com/reference/kotlin/java/lang/String.html name)` Returns the enum constant of this type with the specified name. |
| `static LoadBundleTaskProgress.TaskState[]` | `https://firebase.google.com/docs/reference/android/com/google/firebase/firestore/LoadBundleTaskProgress.TaskState#values()()` Returns an array containing the constants of this enum type, in the order they're declared. |

## Enum Values

### ERROR

```
LoadBundleTaskProgress.TaskState LoadBundleTaskProgress.TaskState.ERROR
```

### RUNNING

```
LoadBundleTaskProgress.TaskState LoadBundleTaskProgress.TaskState.RUNNING
```

### SUCCESS

```
LoadBundleTaskProgress.TaskState LoadBundleTaskProgress.TaskState.SUCCESS
```

## Public methods

### valueOf

```
public static LoadBundleTaskProgress.TaskState valueOf(String name)
```

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

| Returns |
|---|---|
| `https://firebase.google.com/docs/reference/android/com/google/firebase/firestore/LoadBundleTaskProgress.TaskState` | the enum constant with the specified name |

| Throws |
|---|---|
| `https://developer.android.com/reference/kotlin/java/lang/IllegalArgumentException.html java.lang.IllegalArgumentException` | if this enum type has no constant with the specified name |

### values

```
public static LoadBundleTaskProgress.TaskState[] values()
```

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.

| Returns |
|---|---|
| `LoadBundleTaskProgress.TaskState[]` | an array containing the constants of this enum type, in the order they're declared |