|
ubuntu-location-service
..
An aggregating location service providing positioning and geocoding capabilities to applications.
|
#include <default_permission_manager.h>
Inheritance diagram for com::ubuntu::location::service::DefaultPermissionManager:
Collaboration diagram for com::ubuntu::location::service::DefaultPermissionManager:Public Types | |
| typedef std::shared_ptr< DefaultPermissionManager > | Ptr |
Public Types inherited from com::ubuntu::location::service::PermissionManager | |
| enum class | Result { granted , rejected } |
| The Result enum summarizes the results of a query for permissions. More... | |
| typedef std::shared_ptr< PermissionManager > | Ptr |
Public Member Functions | |
| DefaultPermissionManager () | |
| ~DefaultPermissionManager () noexcept | |
| Result | check_permission_for_credentials (const Criteria &, const Credentials &credentials) |
| Checks whether the app with the given credentials is allowed to access the service for the given criteria. More... | |
Public Member Functions inherited from com::ubuntu::location::service::PermissionManager | |
| virtual | ~PermissionManager ()=default |
| PermissionManager (const PermissionManager &)=delete | |
| PermissionManager & | operator= (const PermissionManager &)=delete |
Additional Inherited Members | |
Protected Member Functions inherited from com::ubuntu::location::service::PermissionManager | |
| PermissionManager ()=default | |
Definition at line 34 of file default_permission_manager.h.
| typedef std::shared_ptr<DefaultPermissionManager> com::ubuntu::location::service::DefaultPermissionManager::Ptr |
Definition at line 37 of file default_permission_manager.h.
| com::ubuntu::location::service::DefaultPermissionManager::DefaultPermissionManager | ( | ) |
|
noexcept |
|
virtual |
Checks whether the app with the given credentials is allowed to access the service for the given criteria.
| criteria | The requirements of the remote peer. |
| credentials | The credentials identifying the remote peer. |
Implements com::ubuntu::location::service::PermissionManager.