![]() |
Mapper
0.9.0
API documentation
|
A class which helps to run a service alongside the application. More...
#include <mapper_service_proxy.h>
Public Member Functions | |
MapperServiceProxy ()=default | |
~MapperServiceProxy () | |
QWidget * | activeWindow () |
void | setActiveWindow (QWidget *widget) |
A class which helps to run a service alongside the application.
The service is started by setting a non-null active window, and stopped by setting the active window to null.
On Android, this utility runs a foregound service with a notification showing the app name and the file name. Running a foreground service increases the app's importance with regard to power management and continuous location access, and it makes the user aware of the app when it is in the background.
On other platforms, this class does nothing at the moment.
|
default |
OpenOrienteering::MapperServiceProxy::~MapperServiceProxy | ( | ) |
|
inline |
void OpenOrienteering::MapperServiceProxy::setActiveWindow | ( | QWidget * | widget | ) |