Package-level declarations
Functions
Link copied to clipboard
inline fun PackageInstaller.createSession(baseApk: Uri, configure: InstallParametersDsl.() -> Unit = {}): ProgressSession<InstallFailure>
inline fun PackageInstaller.createSession(apks: Iterable<Uri>, configure: InstallParametersDsl.() -> Unit = {}): ProgressSession<InstallFailure>
Creates an install session. The returned session is in pending state.
Link copied to clipboard
A suspending variant of PackageInstaller.getActiveSessionsAsync.
Link copied to clipboard
fun PackageInstaller.Companion.getCapabilities(installerType: InstallerType, plugins: List<KClass<out AckpineInstallPlugin<*>>>): InstallerCapabilities
fun PackageInstaller.Companion.getCapabilities(installerType: InstallerType, vararg plugins: KClass<out AckpineInstallPlugin<*>>): InstallerCapabilities
Kotlin-friendly variant of PackageInstaller.getCapabilities.
Link copied to clipboard
A suspending variant of PackageInstaller.getSessionAsync.
Link copied to clipboard
A suspending variant of PackageInstaller.getSessionsAsync.