AiPackStatus
public
abstract
@interface
AiPackStatus
implements
Annotation
com.google.android.play.core.aipacks.model.AiPackStatus |
Status of the download of an AI pack.
Summary
Constants | |
---|---|
int |
CANCELED
The AI pack download has been canceled by the user through the Play Store or the download notification. |
int |
COMPLETED
The AI pack download and transfer is complete; the AI packs are available to the app. |
int |
DOWNLOADING
The AI pack download is in progress. |
int |
FAILED
The AI pack download or transfer has failed. |
int |
NOT_INSTALLED
The AI pack is not installed. |
int |
PENDING
The AI pack download is pending and will be processed soon. |
int |
REQUIRES_USER_CONFIRMATION
The AI pack requires user consent to be downloaded. |
int |
TRANSFERRING
The AI pack is being decompressed and copied (or patched) to the app's internal storage. |
int |
UNKNOWN
The AI pack state is unknown. |
int |
WAITING_FOR_WIFI
The AI pack download is waiting for Wi-Fi to become available before proceeding. |
Inherited methods | |
---|---|
Constants
CANCELED
public static final int CANCELED
The AI pack download has been canceled by the user through the Play Store or the download notification.
Constant Value: 6 (0x00000006)
COMPLETED
public static final int COMPLETED
The AI pack download and transfer is complete; the AI packs are available to the app.
Constant Value: 4 (0x00000004)
DOWNLOADING
public static final int DOWNLOADING
The AI pack download is in progress.
Constant Value: 2 (0x00000002)
FAILED
public static final int FAILED
The AI pack download or transfer has failed.
Constant Value: 5 (0x00000005)
NOT_INSTALLED
public static final int NOT_INSTALLED
The AI pack is not installed.
Constant Value: 8 (0x00000008)
PENDING
public static final int PENDING
The AI pack download is pending and will be processed soon.
Constant Value: 1 (0x00000001)
REQUIRES_USER_CONFIRMATION
public static final int REQUIRES_USER_CONFIRMATION
The AI pack requires user consent to be downloaded.
This can happen if the current app version was not installed by Play.
If the AI pack is also waiting for Wi-Fi, this state takes precedence.
Constant Value: 9 (0x00000009)
TRANSFERRING
public static final int TRANSFERRING
The AI pack is being decompressed and copied (or patched) to the app's internal storage.
Constant Value: 3 (0x00000003)
UNKNOWN
public static final int UNKNOWN
The AI pack state is unknown.
Constant Value: 0 (0x00000000)
WAITING_FOR_WIFI
public static final int WAITING_FOR_WIFI
The AI pack download is waiting for Wi-Fi to become available before proceeding.
The app can ask the user to download a session that is waiting for Wi-Fi over cellular data
by using AiPackManager.showConfirmationDialog(ActivityResultLauncher)
.
Constant Value: 7 (0x00000007)