AssetPackStatus
public
abstract
@interface
AssetPackStatus
implements
Annotation
com.google.android.play.core.assetpacks.model.AssetPackStatus |
Status of the download of an asset pack.
Summary
Constants | |
---|---|
int |
CANCELED
The asset pack download has been canceled by the user through the Play Store or the download notification. |
int |
COMPLETED
The asset pack download and transfer is complete; the assets are available to the app. |
int |
DOWNLOADING
The asset pack download is in progress. |
int |
FAILED
The asset pack download or transfer has failed. |
int |
NOT_INSTALLED
The asset pack is not installed. |
int |
PENDING
The asset pack download is pending and will be processed soon. |
int |
TRANSFERRING
The asset pack is being decompressed and copied (or patched) to the app's internal storage. |
int |
UNKNOWN
The asset pack state is unknown. |
int |
WAITING_FOR_WIFI
The asset pack download is waiting for Wi-Fi to become available before proceeding. |
Inherited methods | |
---|---|
![]()
java.lang.annotation.Annotation
|
Constants
CANCELED
int CANCELED
The asset pack download has been canceled by the user through the Play Store or the download notification.
Successful cancellation triggered by the app via cancel(List
will not be communicated via
broadcast but rather using the Task returned by cancel(List
.
Constant Value: 6 (0x00000006)
COMPLETED
int COMPLETED
The asset pack download and transfer is complete; the assets are available to the app.
Constant Value: 4 (0x00000004)
DOWNLOADING
int DOWNLOADING
The asset pack download is in progress.
Constant Value: 2 (0x00000002)
FAILED
int FAILED
The asset pack download or transfer has failed.
Constant Value: 5 (0x00000005)
NOT_INSTALLED
int NOT_INSTALLED
The asset pack is not installed.
Constant Value: 8 (0x00000008)
PENDING
int PENDING
The asset pack download is pending and will be processed soon.
Constant Value: 1 (0x00000001)
TRANSFERRING
int TRANSFERRING
The asset pack is being decompressed and copied (or patched) to the app's internal storage.
Constant Value: 3 (0x00000003)
UNKNOWN
int UNKNOWN
The asset pack state is unknown.
Constant Value: 0 (0x00000000)
WAITING_FOR_WIFI
int WAITING_FOR_WIFI
The asset 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 showCellularDataConfirmation(Activity)
.
Constant Value: 7 (0x00000007)
Annotations
Classes