RegistrationState

Since: BlackBerry 10.0.0

#include <bb/platform/bbm/RegistrationState>

To link against this class, add the following line to your .pro file: LIBS += -lbbplatformbbm

Represents the RegistrationState of an application on the BBM Social Platform.

RegistrationState is updated by the BBM Social Platform.


Overview

Public Types

Type

The list of possible registration states.

Since:

BlackBerry 10.0.0

Allowed = 0

Your app has successfully registered and has full access to the BBM Social Platform.

Unknown = 1

The BBM Social Platform has not yet retrieved the access code for your app.

Since:

BlackBerry 10.0.0

Unregistered = 2

Your app is not registered with the BBM Social Platform.

Call requestRegisterApplication() to start the registration process.
Since:

BlackBerry 10.0.0

Pending = 3

Your app initiated the registration process and it is currently in progress.

Since:

BlackBerry 10.0.0

BlockedByUser = 4

Your app was blocked by the user and does not have access to the BBM Social Platform APIs.

The user can unblock the app by using the global settings application.
Since:

BlackBerry 10.0.0

BlockedByRIM = 5

Your app was blocked by RIM and does not have access to the BBM Social Platform APIs.

The app has most likely violated the terms of use.
Since:

BlackBerry 10.0.0

NoDataConnection = 6

A data connection could not be established to complete registration.

The user needs to enable data services and/or access sufficient data coverage.
Since:

BlackBerry 10.0.0

UnexpectedError = 7

Your app could not register due to an unexpected error.

Since:

BlackBerry 10.0.0

InvalidUuid = 8

Your app could not register because an invalid UUID was used in the registration process.

Since:

BlackBerry 10.0.0

TemporaryError = 9

Your app could not register because of a temporary error.

Since:

BlackBerry 10.0.0

MaxDownloadsReached = 10

Your app has reached the maximum number of users allowed.

Since:

BlackBerry 10.0.0

Expired = 11

Your app's access to the BBM Social Platform has expired and no longer has access to the BBM Social Platform APIs.

This limit is not applied to apps that are downloaded from BlackBerry World. You can submit your app to BlackBerry World to ensure that it does not reach this limit.
Since:

BlackBerry 10.0.0

CancelledByUser = 12

The registration process was canceled by the user.

Since:

BlackBerry 10.0.0

MaxAppsReached = 13

Your app cannot register on this device because the maximum number of allowed apps has been reached.

Since:

BlackBerry 10.0.0

BbmDisabled = 14

Your app cannot access the BBM Social Platform because BBM is disabled.

The user needs to follow the instructions specified in the BBM app to re-enable BBM. Once BBM is re-enabled, your app will receive a new access status.
Since:

BlackBerry 10.0.0

BlockedEnterprisePerimeter = 15

Your app does not have access to the BBM Social Platform because it is installed in the Work perimeter.

To connect to BBM you must install your app in the Personal perimeter.
Since:

BlackBerry 10.2

Last modified: 2014-06-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus