![]() |
Mapper
0.9.0
API documentation
|
#include <QtGlobal>
Namespaces | |
AppPermissions | |
A generic utility for requesting app permissions from the user. | |
Enumerations | |
enum | AppPermissions::AppPermission { AppPermissions::LocationAccess, AppPermissions::StorageAccess } |
Permissions which are required for certain features of the application. More... | |
enum | AppPermissions::PermissionResult { AppPermissions::Denied, AppPermissions::Granted } |
Possible results of requesting a permission. More... | |
Functions | |
PermissionResult | AppPermissions::checkPermission (AppPermission permission) |
Checks if the permission was granted or not. More... | |
template<class T > | |
void | AppPermissions::requestPermission (AppPermission permission, T *object, void(T::*function)()) |
Asynchronously requests a new permission to be granted. More... | |
PermissionResult | AppPermissions::requestPermissionSync (AppPermission permission) |
Requests a permissions to be granted to the application. More... | |