Stay organized with collections
Save and categorize content based on your preferences.
AssetPackStates
public
abstract
class
AssetPackStates
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
AssetPackStates
public AssetPackStates ()
Public methods
packStates
public abstract Map<String, AssetPackState> 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# AssetPackStates\n\nSummary: [Ctors](#pubctors) \\| [Methods](#pubmethods) \\| [Inherited Methods](#inhmethods) \n\nAssetPackStates\n===============\n\n\n`\npublic\n\n\nabstract\nclass\nAssetPackStates\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.assetpacks.AssetPackStates |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nContains the state for all requested packs.\n\nSummary\n-------\n\n| ### Public constructors ||\n|------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ` `[AssetPackStates](../../../../../../../reference/com/google/android/play/core/assetpacks/AssetPackStates.html#AssetPackStates())`() ` |\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)`, `[AssetPackState](../../../../../../../reference/com/google/android/play/core/assetpacks/AssetPackState.html)`\u003e` | ` `[packStates](../../../../../../../reference/com/google/android/play/core/assetpacks/AssetPackStates.html#packStates())`() ` Returns a map from a pack's name to its state. |\n| ` abstract long` | ` `[totalBytes](../../../../../../../reference/com/google/android/play/core/assetpacks/AssetPackStates.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### AssetPackStates\n\n```\npublic AssetPackStates ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nPublic methods\n--------------\n\n### packStates\n\n```\npublic abstract Map\u003cString, AssetPackState\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)`, `[AssetPackState](../../../../../../../reference/com/google/android/play/core/assetpacks/AssetPackState.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 |"]]