# AssetPackStates

Summary:[Ctors](https://developer.android.com/reference/com/google/android/play/core/assetpacks/AssetPackStates#pubctors)\|[Methods](https://developer.android.com/reference/com/google/android/play/core/assetpacks/AssetPackStates#pubmethods)\|[Inherited Methods](https://developer.android.com/reference/com/google/android/play/core/assetpacks/AssetPackStates#inhmethods)  

# AssetPackStates

`
public


abstract
class
AssetPackStates
`  
`

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


``


`

|---|---------------------------------------------------------|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object.html) ||
| ↳ | com.google.android.play.core.assetpacks.AssetPackStates |

<br />

*** ** * ** ***

Contains the state for all requested packs.

## Summary

|                                                               ### Public constructors                                                                ||
|---------------------------------------------------------------------------------------------------------------------------------------------------|---|
| ` `[AssetPackStates](https://developer.android.com/reference/com/google/android/play/core/assetpacks/AssetPackStates.html#AssetPackStates())`() ` |

|                                                                                                                                                                                                                                ### Public methods                                                                                                                                                                                                                                ||
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` abstract `[Map](https://developer.android.com/reference/java/util/Map.html)`<`[String](https://developer.android.com/reference/java/lang/String.html)`, `[AssetPackState](https://developer.android.com/reference/com/google/android/play/core/assetpacks/AssetPackState.html)`>` | ` `[packStates](https://developer.android.com/reference/com/google/android/play/core/assetpacks/AssetPackStates.html#packStates())`() ` Returns a map from a pack's name to its state.      |
| ` abstract long`                                                                                                                                                                                                                                                                    | ` `[totalBytes](https://developer.android.com/reference/com/google/android/play/core/assetpacks/AssetPackStates.html#totalBytes())`() ` Returns total size of all requested packs in bytes. |

| ### Inherited methods |
|-----------------------|---|
| From class` `[java.lang.Object](https://developer.android.com/reference/java/lang/Object.html)` ` |-------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------| | ` boolean`                                                                          | ` equals(`[Object](https://developer.android.com/reference/java/lang/Object.html)` arg0) ` | | ` final `[Class](https://developer.android.com/reference/java/lang/Class.html)`<?>` | ` getClass() `                                                                             | | ` int`                                                                              | ` hashCode() `                                                                             | | ` final void`                                                                       | ` notify() `                                                                               | | ` final void`                                                                       | ` notifyAll() `                                                                            | | ` `[String](https://developer.android.com/reference/java/lang/String.html)          | ` toString() `                                                                             | | ` final void`                                                                       | ` wait(long arg0, int arg1) `                                                              | | ` final void`                                                                       | ` wait(long arg0) `                                                                        | | ` final void`                                                                       | ` wait() `                                                                                 | ||

## Public constructors

### AssetPackStates

```
public AssetPackStates ()
```

<br />

<br />

## Public methods

### packStates

```
public abstract Map<String, AssetPackState> packStates ()
```

Returns a map from a pack's name to its state.

<br />

|                                                                                                                                     Returns                                                                                                                                     ||
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [Map](https://developer.android.com/reference/java/util/Map.html)`<`[String](https://developer.android.com/reference/java/lang/String.html)`, `[AssetPackState](https://developer.android.com/reference/com/google/android/play/core/assetpacks/AssetPackState.html)`>` | <br /> |

### totalBytes

```
public abstract long totalBytes ()
```

Returns total size of all requested packs in bytes.

<br />

|    Returns     ||
|--------|--------|
| `long` | <br /> |