Stay organized with collections
Save and categorize content based on your preferences.
AiPackStorageMethod
public
abstract
@interface
AiPackStorageMethod
implements
Annotation
com.google.android.play.core.aipacks.model.AiPackStorageMethod
|
Method used to store an AI pack.
Summary
Constants |
int |
APK_ASSETS
The AI pack is installed as APKs containing AI asset files.
|
int |
STORAGE_FILES
The AI pack is extracted into a folder containing individual AI asset files.
|
Constants
APK_ASSETS
public static final int APK_ASSETS
The AI pack is installed as APKs containing AI asset files.
AI assets contained by this AI pack can be accessed via Asset Manager.
Constant Value:
1
(0x00000001)
STORAGE_FILES
public static final int STORAGE_FILES
The AI pack is extracted into a folder containing individual AI asset files.
AI assets contained by this AI 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,["# AiPackStorageMethod\n\nSummary: [Constants](#constants) \\| [Inherited Methods](#inhmethods) \n\nAiPackStorageMethod\n===================\n\n\n`\npublic\n\n\nabstract\n@interface\nAiPackStorageMethod\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.aipacks.model.AiPackStorageMethod |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nMethod used to store an AI pack.\n\nSummary\n-------\n\n| ### Constants ||\n|-------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `int` | [APK_ASSETS](../../../../../../../../reference/com/google/android/play/core/aipacks/model/AiPackStorageMethod.html#APK_ASSETS) The AI pack is installed as APKs containing AI asset files. |\n| `int` | [STORAGE_FILES](../../../../../../../../reference/com/google/android/play/core/aipacks/model/AiPackStorageMethod.html#STORAGE_FILES) The AI pack is extracted into a folder containing individual AI 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 AI pack is installed as APKs containing AI asset files.\n\nAI assets contained by this AI 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 AI pack is extracted into a folder containing individual AI asset files.\n\nAI assets contained by this AI pack can be accessed via standard File APIs.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n0\n(0x00000000)"]]