RenderEngineInfo

Since: BlackBerry 10.0.0

#include <bb/cascades/maps/RenderEngineInfo>

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

The characteristics of a render engine.


Overview

Public Functions Index

RenderEngineInfo ()
RenderEngineInfo (const RenderEngineInfo &src)
~RenderEngineInfo ()
boolisInlineTrafficSupported ()
intmaximumAltitude () const
intminimumAltitude () const
RenderEngineInfo &operator= (const RenderEngineInfo &src)
boolrotateByGestureSupported () const
voidsetInlineTrafficSupported (bool supported)
voidsetMaximumAltitude (int maximumAltitude)
voidsetMinimumAltitude (int minimumAltitude)
voidsetRotateByGestureSupported (bool supported)
voidsetSupportedCountryList (const QStringList &supportedCountries)
voidsetTiltByGestureSupported (bool supported)
QStringListsupportedCountryList () const
booltiltByGestureSupported () const

Public Functions

RenderEngineInfo ()

Basic constructor.

Since:

BlackBerry 10.0.0

RenderEngineInfo (

Copy constructor.

Parameters
src

The object from which to copy information.

Since:

BlackBerry 10.0.0

~RenderEngineInfo ()

Destructor.

Since:

BlackBerry 10.0.0

bool isInlineTrafficSupported ()

Indicates whether the RenderEngine supports displaying traffic conditions within the map.

Return:

true if the RenderEngine supports displaying inline traffic conditions, false otherwise.

Since:

BlackBerry 10.2.0

int maximumAltitude ()

Gets the maximum supported altitude.

Defaults to 23 000 000 meters.

Return:

The maximum altitude.

Since:

BlackBerry 10.0.0

int minimumAltitude ()

Gets the minimum supported altitude.

Defaults to 1 meter.

Return:

The minimum altitude.

Since:

BlackBerry 10.0.0

RenderEngineInfo & operator= (

Assignment operator.

Parameters
src

The object from which to copy information.

Since:

BlackBerry 10.0.0

bool rotateByGestureSupported ()

Indicates whether the RenderEngine supports map "rotate" by gesture.

Since:

BlackBerry 10.0.0

void setInlineTrafficSupported (
  • boolsupported)

Sets the flag for indicating whether the RenderEngine supports displaying traffic conditions within the map.

If unset, the value is false.

Parameters
supported

true if the RenderEngine supports displaying inline traffic conditions, false otherwise.

Since:

BlackBerry 10.2.0

void setMaximumAltitude (
  • intmaximumAltitude)

Sets the maximum supported altitude.

Parameters
maximumAltitude

The new maximum altitude.

Since:

BlackBerry 10.0.0

void setMinimumAltitude (
  • intminimumAltitude)

Sets the minimum supported altitude.

Parameters
minimumAltitude

The new minimum altitude.

Since:

BlackBerry 10.0.0

void setRotateByGestureSupported (
  • boolsupported)

Sets the flag if RenderEngine supports map "rotate" by gesture.

Parameters
supported

true if rotate is supported.

Since:

BlackBerry 10.0.0

void setSupportedCountryList (

Sets the list of ISO 3166-1 alpha-3 country codes that the RenderEngine supports.

Parameters
supportedCountries

A QStringList of ISO 3166-1 alpha-3 country codes that the RenderEngine has support for, or an empty QStringList if no countries are supported.

Since:

BlackBerry 10.3.0

void setTiltByGestureSupported (
  • boolsupported)

Sets the flag if RenderEngine supports map "tilt" by gesture.

Parameters
supported

true if tilt is supported.

Since:

BlackBerry 10.0.0

QStringList supportedCountryList ()

Gets the list of ISO 3166-1 alpha-3 country codes that the RenderEngine supports.

Return:

A QStringList of ISO 3166-1 alpha-3 country codes that the RenderEngine supports, or an empty QStringList if no countries are supported.

bool tiltByGestureSupported ()

Indicates whether the RenderEngine supports map "tilt" by gesture.

Since:

BlackBerry 10.0.0

Last modified: 2014-06-24



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

comments powered by Disqus