PackageSource

sealed class PackageSource

Indicates the package source of the app being installed. This is informational and may be used as a signal by the system.

Default value is Unspecified.

Inheritors

Types

Link copied to clipboard

The package being installed comes from a file that was downloaded to the device by the user. For use in place of LocalFile when the installer knows the package was downloaded.

Link copied to clipboard
data object LocalFile : PackageSource

The package being installed comes from a local file on the device. A file manager that is facilitating the installation of an APK file would use this.

Link copied to clipboard
data object Other : PackageSource

The package being installed is from a source not reflected by any other package source constant.

Link copied to clipboard
data object Store : PackageSource

The package being installed is from a store. An app store that installs an app for the user would use this.

Link copied to clipboard

The installer did not specify the package source. Default value.