CardResizeMessage

Since: BlackBerry 10.0.0

#include <bb/system/CardResizeMessage>

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

Encapsulates information sent to a card to instruct it to resize.


Overview

Public Functions Index

CardResizeMessage ()
CardResizeMessage (const CardResizeMessage &other)
~CardResizeMessage ()
intheight () const
QStringid () const
CardResizeMessage &operator= (const CardResizeMessage &other)
CardOrientation::Typeorientation () const
CardEdge::TypeupEdge () const
intwidth () const

Public Functions

CardResizeMessage ()

Creates a new CardResizeMessage object.

Since:

BlackBerry 10.0.0

CardResizeMessage (

Creates a copy of an existing CardResizeMessage object.

Parameters
other

The source CardResizeMessage object to copy.

Since:

BlackBerry 10.0.0

~CardResizeMessage ()

Destructor.

Since:

BlackBerry 10.0.0

int height ()

Returns the height to which the card should resize.

Return:

The height.

Since:

BlackBerry 10.0.0

QString id ()

Returns the unique identifier of the message.

Return:

The unique identifier of the message.

Since:

BlackBerry 10.0.0

CardResizeMessage & operator= (

Copies the data of an existing CardResizeMessage object to this object.

Parameters
other

The source CardResizeMessage object to copy.

Return:

The CardResizeMessage instance.

Since:

BlackBerry 10.0.0

CardOrientation::Type orientation ()

Returns the orientation of the device (portrait or landscape).

Return:

The orientation of the device. See bb::system::CardOrientation for the list of orientations.

Since:

BlackBerry 10.0.0

CardEdge::Type upEdge ()

Returns the edge of the device that is pointing up.

Return:

The edge now facing up. See bb::system::CardEdge for the list of edges.

Since:

BlackBerry 10.0.0

int width ()

Returns the width to which the card should resize.

Return:

The width.

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