Stay organized with collections
Save and categorize content based on your preferences.
AiPackStates
public
abstract
class
AiPackStates
extends Object
Contains the state for all requested packs.
Summary
Inherited methods |
From class
java.lang.Object
boolean
|
equals(Object arg0)
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public constructors
AiPackStates
public AiPackStates ()
Public methods
packStates
public abstract Map<String, AiPackState> packStates ()
Returns a map from a pack's name to its state.
totalBytes
public abstract long totalBytes ()
Returns total size of all requested packs in bytes.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# AiPackStates\n\nSummary: [Ctors](#pubctors) \\| [Methods](#pubmethods) \\| [Inherited Methods](#inhmethods) \n\nAiPackStates\n============\n\n\n`\npublic\n\n\nabstract\nclass\nAiPackStates\n`\n\n\n`\n\nextends `[Object](https://developer.android.com/reference/java/lang/Object.html)`\n\n\n`\n\n`\n\n\n`\n\n|---|---------------------------------------------------|\n| [java.lang.Object](https://developer.android.com/reference/java/lang/Object.html) ||\n| ↳ | com.google.android.play.core.aipacks.AiPackStates |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nContains the state for all requested packs.\n\nSummary\n-------\n\n| ### Public constructors ||\n|------------------------------------------------------------------------------------------------------------------------------|---|\n| ` `[AiPackStates](../../../../../../../reference/com/google/android/play/core/aipacks/AiPackStates.html#AiPackStates())`() ` |\n\n| ### Public methods ||\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` abstract `[Map](https://developer.android.com/reference/java/util/Map.html)`\u003c`[String](https://developer.android.com/reference/java/lang/String.html)`, `[AiPackState](../../../../../../../reference/com/google/android/play/core/aipacks/AiPackState.html)`\u003e` | ` `[packStates](../../../../../../../reference/com/google/android/play/core/aipacks/AiPackStates.html#packStates())`() ` Returns a map from a pack's name to its state. |\n| ` abstract long` | ` `[totalBytes](../../../../../../../reference/com/google/android/play/core/aipacks/AiPackStates.html#totalBytes())`() ` Returns total size of all requested packs in bytes. |\n\n| ### Inherited methods |\n|-----------------------|---|\n| 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)`\u003c?\u003e` | ` 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() ` | ||\n\nPublic constructors\n-------------------\n\n### AiPackStates\n\n```\npublic AiPackStates ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nPublic methods\n--------------\n\n### packStates\n\n```\npublic abstract Map\u003cString, AiPackState\u003e packStates ()\n```\n\nReturns a map from a pack's name to its state.\n\n\u003cbr /\u003e\n\n| Returns ||\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------|\n| [Map](https://developer.android.com/reference/java/util/Map.html)`\u003c`[String](https://developer.android.com/reference/java/lang/String.html)`, `[AiPackState](../../../../../../../reference/com/google/android/play/core/aipacks/AiPackState.html)`\u003e` | \u003cbr /\u003e |\n\n### totalBytes\n\n```\npublic abstract long totalBytes ()\n```\n\nReturns total size of all requested packs in bytes.\n\n\u003cbr /\u003e\n\n| Returns ||\n|--------|--------|\n| `long` | \u003cbr /\u003e |"]]