Package-level declarations

Types

Link copied to clipboard
data class App(val id: String)

A class that represents an application and its associated channel and downloaded snapshots.

Link copied to clipboard
data class Channel(val id: String)

A class that represents the channel an App can be configured to.

Link copied to clipboard
data class Device(val binary_version: String, val device_id: String)

A class that represents a device to provide information to the server.

Link copied to clipboard
class FailResult(val liveUpdate: LiveUpdate, val failStep: FailStep, val failMsg: String? = null)

Represents a failed request during the Live Updates process and information about the failure.

Link copied to clipboard

A state representing the step in the Live Update process where a failure occurred.

Link copied to clipboard
data class Manifest(val signatures: List<Signature>? = null, val payload: String)

A class representing the manifest associated with diff downloads and validating secure Live Updates payloads.

Link copied to clipboard
data class PayloadFile(val href: String, val size: Long, val integrity: String)

A class representing a file within a Live Update payload.

Link copied to clipboard
data class Signature(val protected: String, val signature: String)

A class representing the signature in the secure manifest.

Link copied to clipboard
data class Snapshot(val id: String, val buildId: String, var binaryVersion: String, var lastUsed: Long)

A class representing

Link copied to clipboard
enum Source : Enum<Source>

A state representing the source of the app whether an update occurred.

Link copied to clipboard
class SyncResult(val liveUpdate: LiveUpdate, val snapshot: Snapshot?, val source: Source, val latestAppDirectoryChanged: Boolean)

A class representing a successful sync attempt for an app.