# AiPackStates

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

# AiPackStates

`
public


abstract
class
AiPackStates
`  
`

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.aipacks.AiPackStates |

<br />

*** ** * ** ***

Contains the state for all requested packs.

## Summary

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

|                                                                                                                                                                                                                        ### Public methods                                                                                                                                                                                                                         ||
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` abstract `[Map](https://developer.android.com/reference/java/util/Map.html)`<`[String](https://developer.android.com/reference/java/lang/String.html)`, `[AiPackState](https://developer.android.com/reference/com/google/android/play/core/aipacks/AiPackState.html)`>` | ` `[packStates](https://developer.android.com/reference/com/google/android/play/core/aipacks/AiPackStates.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/aipacks/AiPackStates.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

### AiPackStates

```
public AiPackStates ()
```

<br />

<br />

## Public methods

### packStates

```
public abstract Map<String, AiPackState> 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)`, `[AiPackState](https://developer.android.com/reference/com/google/android/play/core/aipacks/AiPackState.html)`>` | <br /> |

### totalBytes

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

Returns total size of all requested packs in bytes.

<br />

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