Join us for ⁠#Android11: The Beta Launch Show on June 3!

AssetPackStates

public abstract class AssetPackStates
extends Object

java.lang.Object
   ↳ com.google.android.play.core.assetpacks.AssetPackStates


Contains the state for all requested packs.

Summary

Public constructors

AssetPackStates()

Public methods

abstract Map<String, AssetPackState> packStates()

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

abstract long totalBytes()

Returns total size of all requested packs in bytes.

Inherited methods

From class java.lang.Object

Public constructors

AssetPackStates

AssetPackStates ()

Public methods

packStates

Map<String, AssetPackState> packStates ()

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

Returns
Map<String, AssetPackState>

totalBytes

long totalBytes ()

Returns total size of all requested packs in bytes.

Returns
long