PlatformInfo

Since: BlackBerry 10.0.0

#include <bb/platform/PlatformInfo>

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

Allows access to information about the platform.


Overview

Properties Index

QStringosVersion [read-only]

Public Functions Index

PlatformInfo (QObject *parent=0)
virtual ~PlatformInfo ()
QStringosVersion () const

Properties

QString osVersion[read-only]

Retrieves the OS version of the platform.

Since:

BlackBerry 10.0.0

Public Functions

PlatformInfo (

Create an instance of the PlatformInfo class.

Parameters
parent

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

Since:

BlackBerry 10.0.0

virtual~PlatformInfo ()

Destructor.

Since:

BlackBerry 10.0.0

QString osVersion ()

Retrieves the OS version of the platform.

Note:

It is left to the caller to interpret the meaning of the OS version string.

Return:

QString containing the version. If the version could not be ascertained then "0.0.0.0" is returned.

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