installApplications

fun installApplications(apps: List<String>, deleteTmpFile: Boolean): Int

Install APK files from specified sources

Return

Const.EXECUTE_COMPLETE - function completed

Const.LIST_IS_EMPTY - The list passed to the function is empty. Function failed. Function failed

Const.SERVER_ERROR - The link where the apk file is located is not available. Function failed

Const.METHOD_NOT_FOUND - Method not found. Function failed

Parameters

apps

List of paths to apk files

deleteTmpFile

An optional flag that allows you to remove the installation apk files after installation