bool killApp(string packageName)

Attempts to kill an app via its package name, and returns true on success.

Parameters

Name Description
packageName The package name of the app to kill.

Return

True if success, false otherwise.