State
Class that maps all the possible actions that the service is doing
Types
Link copied to clipboard
Client is cancelling the last update request
Link copied to clipboard
data class ConfigurationError(val details: List<String> = emptyList()) : UFServiceMessageV1.State
Content copied to clipboard
Bad service configuration
Link copied to clipboard
data class Downloading(val artifacts: List<UFServiceMessageV1.State.Downloading.Artifact>) : UFServiceMessageV1.State
Content copied to clipboard
Client is downloading artifacts from server
Link copied to clipboard
Client is waiting for new requests from server
Link copied to clipboard
Client has started the update process. Any request to cancel an update will be rejected
Link copied to clipboard
Client is waiting for an authorization to start the artifacts downloading
Link copied to clipboard
Client is waiting for an authorization to start the update
Link copied to clipboard
data class WaitingUpdateWindow(val secondsFromNextUpdateWindow: Long?) : UFServiceMessageV1.State
Content copied to clipboard
Client is waiting the update windows to apply the update