applications

Returns the applications running on the device and their foreground state. If value is true, the app is running in the foreground, else in background.

Return

Map of all packages and their foreground state