Android 12 Developer Preview is here! Try it out, and give us your feedback!

AssetPackStorageMethod

public abstract @interface AssetPackStorageMethod
implements Annotation

com.google.android.play.core.assetpacks.model.AssetPackStorageMethod


Method used to store an asset pack.

Summary

Constants

int APK_ASSETS

The asset pack is installed as APKs containing asset files.

int STORAGE_FILES

The asset pack is extracted into a folder containing individual asset files.

Inherited methods

Constants

APK_ASSETS

public static final int APK_ASSETS

The asset pack is installed as APKs containing asset files.

Assets contained by this asset pack can be accessed via Asset Manager.

Constant Value: 1 (0x00000001)

STORAGE_FILES

public static final int STORAGE_FILES

The asset pack is extracted into a folder containing individual asset files.

Assets contained by this asset pack can be accessed via standard File APIs.

Constant Value: 0 (0x00000000)