createSession
inline fun PackageUninstaller.createSession(packageName: String, configure: UninstallParametersDsl.() -> Unit = {}): Session<UninstallFailure>
Creates a uninstall session. The returned session is in pending state.
Return
Parameters
packageName
name of the package to be uninstalled.
configure
configures uninstall session.