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.

Inherited methods

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)