ubuntu-location-service
..
An aggregating location service providing positioning and geocoding capabilities to applications.
|
#include <default_permission_manager.h>
Public Types | |
typedef std::shared_ptr< DefaultPermissionManager > | Ptr |
![]() | |
enum | Result { Result::granted, Result::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... | |
![]() | |
virtual | ~PermissionManager ()=default |
PermissionManager (const PermissionManager &)=delete | |
PermissionManager & | operator= (const PermissionManager &)=delete |
Additional Inherited Members | |
![]() | |
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.