AppInstaller

interface AppInstaller

Inheritors

Functions

Link copied to clipboard
abstract suspend fun installApp(appFile: File, onResult: (success: Boolean, message: String?) -> Unit)

Installs an application from the specified file.

Link copied to clipboard
abstract suspend fun uninstallApp(onResult: (success: Boolean, message: String?) -> Unit)

Uninstalls the actual application from the device.

abstract suspend fun uninstallApp(packageName: String, onResult: (success: Boolean, message: String?) -> Unit)

Uninstalls an application based on the provided package name.