# AssetPackStatus

Summary:[Constants](https://developer.android.com/reference/com/google/android/play/core/assetpacks/model/AssetPackStatus#constants)\|[Inherited Methods](https://developer.android.com/reference/com/google/android/play/core/assetpacks/model/AssetPackStatus#inhmethods)  

# AssetPackStatus

`
public


abstract
@interface
AssetPackStatus
`  
`


implements

`[Annotation](https://developer.android.com/reference/java/lang/annotation/Annotation.html)`


`

|---------------------------------------------------------------|
| com.google.android.play.core.assetpacks.model.AssetPackStatus |

<br />

*** ** * ** ***

Status of the download of an asset pack.

## Summary

|                                                                                                                   ### Constants                                                                                                                   ||
|-------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `int` | [CANCELED](https://developer.android.com/reference/com/google/android/play/core/assetpacks/model/AssetPackStatus.html#CANCELED) The asset pack download has been canceled by the user through the Play Store or the download notification. |
| `int` | [COMPLETED](https://developer.android.com/reference/com/google/android/play/core/assetpacks/model/AssetPackStatus.html#COMPLETED) The asset pack download and transfer is complete; the assets are available to the app.                   |
| `int` | [DOWNLOADING](https://developer.android.com/reference/com/google/android/play/core/assetpacks/model/AssetPackStatus.html#DOWNLOADING) The asset pack download is in progress.                                                              |
| `int` | [FAILED](https://developer.android.com/reference/com/google/android/play/core/assetpacks/model/AssetPackStatus.html#FAILED) The asset pack download or transfer has failed.                                                                |
| `int` | [NOT_INSTALLED](https://developer.android.com/reference/com/google/android/play/core/assetpacks/model/AssetPackStatus.html#NOT_INSTALLED) The asset pack is not installed.                                                                 |
| `int` | [PENDING](https://developer.android.com/reference/com/google/android/play/core/assetpacks/model/AssetPackStatus.html#PENDING) The asset pack download is pending and will be processed soon.                                               |
| `int` | [REQUIRES_USER_CONFIRMATION](https://developer.android.com/reference/com/google/android/play/core/assetpacks/model/AssetPackStatus.html#REQUIRES_USER_CONFIRMATION) The asset pack requires user consent to be downloaded.                 |
| `int` | [TRANSFERRING](https://developer.android.com/reference/com/google/android/play/core/assetpacks/model/AssetPackStatus.html#TRANSFERRING) The asset pack is being decompressed and copied (or patched) to the app's internal storage.        |
| `int` | [UNKNOWN](https://developer.android.com/reference/com/google/android/play/core/assetpacks/model/AssetPackStatus.html#UNKNOWN) The asset pack state is unknown.                                                                             |
| `int` | [WAITING_FOR_WIFI](https://developer.android.com/reference/com/google/android/play/core/assetpacks/model/AssetPackStatus.html#WAITING_FOR_WIFI) The asset pack download is waiting for Wi-Fi to become available before proceeding.        |

| ### Inherited methods |
|-----------------------|---|
| From interface` `[java.lang.annotation.Annotation](https://developer.android.com/reference/java/lang/annotation/Annotation.html)` ` |---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------| | ` abstract `[Class](https://developer.android.com/reference/java/lang/Class.html)`<? extends `[Annotation](https://developer.android.com/reference/java/lang/annotation/Annotation.html)`>` | ` annotationType() `                                                                       | | ` abstract boolean`                                                                                                                                                                         | ` equals(`[Object](https://developer.android.com/reference/java/lang/Object.html)` arg0) ` | | ` abstract int`                                                                                                                                                                             | ` hashCode() `                                                                             | | ` abstract `[String](https://developer.android.com/reference/java/lang/String.html)                                                                                                         | ` toString() `                                                                             | ||

## Constants

### CANCELED

```
public static final int CANCELED
```

The asset pack download has been canceled by the user through the Play Store or the download notification.

<br />

Constant Value: 6 (0x00000006)  

### COMPLETED

```
public static final int COMPLETED
```

The asset pack download and transfer is complete; the assets are available to the app.

<br />

Constant Value: 4 (0x00000004)  

### DOWNLOADING

```
public static final int DOWNLOADING
```

The asset pack download is in progress.

<br />

Constant Value: 2 (0x00000002)  

### FAILED

```
public static final int FAILED
```

The asset pack download or transfer has failed.

<br />

Constant Value: 5 (0x00000005)  

### NOT_INSTALLED

```
public static final int NOT_INSTALLED
```

The asset pack is not installed.

<br />

Constant Value: 8 (0x00000008)  

### PENDING

```
public static final int PENDING
```

The asset pack download is pending and will be processed soon.

<br />

Constant Value: 1 (0x00000001)  

### REQUIRES_USER_CONFIRMATION

```
public static final int REQUIRES_USER_CONFIRMATION
```

The asset pack requires user consent to be downloaded.

This can happen if the current app version was not installed by Play.

If the asset pack is also waiting for Wi-Fi, this state takes precedence.

<br />

Constant Value: 9 (0x00000009)  

### TRANSFERRING

```
public static final int TRANSFERRING
```

The asset pack is being decompressed and copied (or patched) to the app's internal storage.

<br />

Constant Value: 3 (0x00000003)  

### UNKNOWN

```
public static final int UNKNOWN
```

The asset pack state is unknown.

<br />

Constant Value: 0 (0x00000000)  

### WAITING_FOR_WIFI

```
public static final int WAITING_FOR_WIFI
```

The asset pack download is waiting for Wi-Fi to become available before proceeding.

The app can ask the user to download a session that is waiting for Wi-Fi over cellular data by using[AssetPackManager.showCellularDataConfirmation(Activity)](https://developer.android.com/reference/com/google/android/play/core/assetpacks/AssetPackManager.html#showCellularDataConfirmation(android.app.Activity)).

<br />

Constant Value: 7 (0x00000007)