Stay organized with collections
Save and categorize content based on your preferences.
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.
|
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)
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,["# AssetPackStorageMethod\n\nSummary: [Constants](#constants) \\| [Inherited Methods](#inhmethods) \n\nAssetPackStorageMethod\n======================\n\n\n`\npublic\n\n\nabstract\n@interface\nAssetPackStorageMethod\n`\n\n\n`\n\n\nimplements\n\n`[Annotation](https://developer.android.com/reference/java/lang/annotation/Annotation.html)`\n\n\n`\n\n|----------------------------------------------------------------------|\n| com.google.android.play.core.assetpacks.model.AssetPackStorageMethod |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nMethod used to store an asset pack.\n\nSummary\n-------\n\n| ### Constants ||\n|-------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `int` | [APK_ASSETS](../../../../../../../../reference/com/google/android/play/core/assetpacks/model/AssetPackStorageMethod.html#APK_ASSETS) The asset pack is installed as APKs containing asset files. |\n| `int` | [STORAGE_FILES](../../../../../../../../reference/com/google/android/play/core/assetpacks/model/AssetPackStorageMethod.html#STORAGE_FILES) The asset pack is extracted into a folder containing individual asset files. |\n\n| ### Inherited methods |\n|-----------------------|---|\n| From interface ` `[java.lang.annotation.Annotation](https://developer.android.com/reference/java/lang/annotation/Annotation.html)` ` |---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------| | ` abstract `[Class](https://developer.android.com/reference/java/lang/Class.html)`\u003c? extends `[Annotation](https://developer.android.com/reference/java/lang/annotation/Annotation.html)`\u003e` | ` annotationType() ` | | ` abstract boolean` | ` equals(`[Object](https://developer.android.com/reference/java/lang/Object.html)` arg0) ` | | ` abstract int` | ` hashCode() ` | | ` abstract `[String](https://developer.android.com/reference/java/lang/String.html) | ` toString() ` | ||\n\nConstants\n---------\n\n### APK_ASSETS\n\n```\npublic static final int APK_ASSETS\n```\n\nThe asset pack is installed as APKs containing asset files.\n\nAssets contained by this asset pack can be accessed via Asset Manager.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n1\n(0x00000001)\n\n\n### STORAGE_FILES\n\n```\npublic static final int STORAGE_FILES\n```\n\nThe asset pack is extracted into a folder containing individual asset files.\n\nAssets contained by this asset pack can be accessed via standard File APIs.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n0\n(0x00000000)"]]