grantPermissions

fun grantPermissions(apps: List<String>): Int

Set any permissions requested by the application to either package name or application name.

Return

Const.EXECUTE_COMPLETE - function completed

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

Const.FUNCTION_NOT_SUPPORTED_ERROR - Function not supported. Function failed

Parameters

apps

Package name or application name