ApplicationInfo

Since: BlackBerry 10.0.0

#include <bb/ApplicationInfo>

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

The ApplicationInfo class provides access to application metadata available in the BAR manifest of the package containing the application.

Applications are packaged in BAR packages that are deployed on the device. The BAR package contains metadata that describes the application as well as the package itself. This class provides access to metadata that describes the application. For metadata related to the package itself, including the unique identifier for this application, use bb::PackageInfo.


Overview

Properties Index

QStringdescription [read-only]
QStringsigningHash [read-only]
QStringtitle [read-only]
QStringversion [read-only]
QStringversionSigningHash [read-only]

Public Functions Index

ApplicationInfo (QObject *parent=0)
virtual ~ApplicationInfo ()
QStringdescription () const
QStringsigningHash () const
QStringtitle () const
QStringversion () const
QStringversionSigningHash () const

Properties

QString description[read-only]

Represents the description of the application contained in the package.

Since:

BlackBerry 10.0.0

QString signingHash[read-only]

Represents the token assigned by the signing authority for the application contained in the package.

Since:

BlackBerry 10.0.0

QString title[read-only]

Represents the title of the application contained in the package.

Since:

BlackBerry 10.0.0

QString version[read-only]

Represents the version of the application contained in the package.

The value adheres to the format n.n.n.n when n is [0-65535] and 0.0.0.0 is considered an invalid value.

Since:

BlackBerry 10.0.0

QString versionSigningHash[read-only]

Represents the token from the signing authority for the version of the packaged application.

Since:

BlackBerry 10.0.0

Public Functions

ApplicationInfo (

Initializes a new instance of the ApplicationInfo class.

Parameters
parent

If not 0, the supplied parent will be responsible for deleting this instance.

Since:

BlackBerry 10.0.0

virtual~ApplicationInfo ()

Destructor.

Since:

BlackBerry 10.0.0

QString description ()

Retrieves the value for the description property.

Return:

The description value.

Since:

BlackBerry 10.0.0

QString signingHash ()

Retrieves the value for the signingHash property.

Return:

The signingHash value.

Since:

BlackBerry 10.0.0

QString title ()

Retrieves the value for the title property.

Return:

The title value.

Since:

BlackBerry 10.0.0

QString version ()

Retrieves the value for the version property.

Return:

The version value.

Since:

BlackBerry 10.0.0

QString versionSigningHash ()

Retrieves the value for the versionSigningHash property.

Return:

The versionSigningHash value.

Since:

BlackBerry 10.0.0

Last modified: 2014-09-30



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

comments powered by Disqus