ru.dgis.sdk.update.PackageInfo | Android SDK | Urbi Documentation

PackageInfo

Package information. See IPackage.

PackageInfo(
	name: String,
	installed: Boolean = false,
	incomplete: Boolean = false,
	preinstalled: Boolean = false,
	compatible: Boolean = true,
	hasUpdate: Boolean = false,
	updateStatus: PackageUpdateStatus
)

Package information. See IPackage.

Parameters
name
installed
incomplete
preinstalled
compatible
hasUpdate
updateStatus
Returns
Properties

Localized package name.

Installation flag - true, if the package was selected for installation.

Installation pending flag - true, if there is no fully loaded version of the package (possibly incompatible with the current SDK version).

A flag for pre-installed packages. Pre-installed packages are always installed and fully loaded, and cannot be removed.

Compatibility flag - true, if the downloaded package is compatible with the current SDK version.

Indicator of an update availability - true, if there is an update for the downloaded package. It is possible, that during the process of updating to a new version, an even newer version of the package became available on the server. In this case, the value is true both during the update and upon completion.

Package update status.