keepAwake property

bool keepAwake
getter/setter pair

Keep the process alive and the device awake while downloads run (an Android foreground service with a progress notification, a power assertion on desktop, a background-task grant on iOS).

Implementation

bool keepAwake;