JchuAppUpdateState

sealed interface JchuAppUpdateState

Current state of a Google Play flexible in-app update.

Inheritors

Types

Link copied to clipboard

Google Play has an update that can be installed with the flexible flow.

Link copied to clipboard

The update has downloaded and can be installed by calling JchuAppUpdateController.installDownloadedUpdate.

Link copied to clipboard
data class Downloading(val progress: Float?) : JchuAppUpdateState

The update is downloading. Progress is a value from 0.0 to 1.0 when available.

Link copied to clipboard

The update flow failed or was cancelled and can be retried.

Link copied to clipboard

There is no update to present, or the available update was dismissed for now.

Link copied to clipboard

Google Play is installing the downloaded update.

Link copied to clipboard

Google Play is preparing the update flow.