ApplicationPermissions
Since: BlackBerry 10.0.0
#include <bb/platform/bbm/ApplicationPermissions>
To link against this class, add the following line to your .pro file: LIBS += -lbbplatformbbm
Represents a class that provides access to your app's permission settings on the BBM Social Platform.
ApplicationPermissions provides access to the permissions that the current user has set in the global settings for your app. For example, invitations to download your app or updates to their BBM profile.
Overview
Public Functions Index
ApplicationPermissions (Context *context, QObject *parent=0) | |
virtual | ~ApplicationPermissions () |
bb::platform::bbm::PermissionValue::Type | permissionValue (bb::platform::bbm::Permission::Type permissionType) const |
Public Functions
Creates a new ApplicationPermissions object.
Parameters | |
---|---|
context |
The Context object that provides the basis for the ApplicationPermissions object. A Context object with RegistrationState::Allowed is necessary for creation of the ApplicationPermissions object. |
parent |
The QObject parent of this ApplicationPermissions object. |
BlackBerry 10.0.0
virtual
Destructor.
BlackBerry 10.0.0
bb::platform::bbm::PermissionValue::Type
Retrieves the PermissionValue for the specified permissionType.
Parameters | |
---|---|
permissionType |
The type of permission value to retrieve. |
PermissionValue The value that is set in the global permission settings for your app.
BlackBerry 10.0.0