# AiPackStorageMethod

Summary:[Constants](https://developer.android.com/reference/com/google/android/play/core/aipacks/model/AiPackStorageMethod#constants)\|[Inherited Methods](https://developer.android.com/reference/com/google/android/play/core/aipacks/model/AiPackStorageMethod#inhmethods)  

# AiPackStorageMethod

`
public


abstract
@interface
AiPackStorageMethod
`  
`


implements

`[Annotation](https://developer.android.com/reference/java/lang/annotation/Annotation.html)`


`

|----------------------------------------------------------------|
| com.google.android.play.core.aipacks.model.AiPackStorageMethod |

<br />

*** ** * ** ***

Method used to store an AI pack.

## Summary

|                                                                                                         ### Constants                                                                                                          ||
|-------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `int` | [APK_ASSETS](https://developer.android.com/reference/com/google/android/play/core/aipacks/model/AiPackStorageMethod.html#APK_ASSETS) The AI pack is installed as APKs containing AI asset files.                        |
| `int` | [STORAGE_FILES](https://developer.android.com/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. |

| ### Inherited methods |
|-----------------------|---|
| 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)`<? extends `[Annotation](https://developer.android.com/reference/java/lang/annotation/Annotation.html)`>` | ` 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() `                                                                             | ||

## 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.

<br />

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.

<br />

Constant Value: 0 (0x00000000)