![]() |
NDEVR
API Documentation
|
Abstract interface for platform-specific permission handling. More...
Public Member Functions | |
| virtual PermissionState | checkPermission (const StringView &permission)=0 |
| Checks whether the specified permission is currently granted. | |
| virtual PermissionState | requestPermission (const StringView &permission)=0 |
| Requests the specified permission from the user or system. | |
Abstract interface for platform-specific permission handling.
Implementations provide the logic for checking and requesting permissions on a given platform.
Definition at line 20 of file PermissionManager.h.
|
pure virtual |
Checks whether the specified permission is currently granted.
| [in] | permission | The identifier of the permission to check. |
|
pure virtual |
Requests the specified permission from the user or system.
| [in] | permission | The identifier of the permission to request. |