enableApplication

fun enableApplication(apps: List<String>, enabled: Boolean): Int

Turns the specified apps on and off

Return

Const.EXECUTE_COMPLETE - function completed

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

Parameters

apps

Application List

enabled
  • Turn on / Turn off