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::TypepermissionValue (bb::platform::bbm::Permission::Type permissionType) const

Public Functions

ApplicationPermissions (

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.

Since:

BlackBerry 10.0.0

virtual~ApplicationPermissions ()

Destructor.

Since:

BlackBerry 10.0.0

bb::platform::bbm::PermissionValue::Type permissionValue (

Retrieves the PermissionValue for the specified permissionType.

Parameters
permissionType

The type of permission value to retrieve.

Return:

PermissionValue The value that is set in the global permission settings for your app.

Since:

BlackBerry 10.0.0

Last modified: 2014-03-13

comments powered by Disqus