dialog_position_t

The available toast dialog positions.

Synopsis:

#include <bps/dialog.h>
 
typedef enum {
      DIALOG_POSITION_TOP_CENTER = 0   
      DIALOG_POSITION_MIDDLE_CENTER = 1   
      DIALOG_POSITION_BOTTOM_CENTER = 2   
} dialog_position_t;

Since:

BlackBerry 10.0.0

Data:

DIALOG_POSITION_TOP_CENTER
Specify that the toast will appear centered near the top of the screen.
DIALOG_POSITION_MIDDLE_CENTER
Specify that the toast will appear centered in the middle of the screen.
DIALOG_POSITION_BOTTOM_CENTER
Specify that the toast will appear centered near the bottom of the screen.

Library:

libbps (For the qcc command, use the -l bps option to link against this library)

Description:

This enumeration defines the available positions at which a toast dialog can be displayed on the screen. The default display position for a dialog is DIALOG_POSITION_MIDDLE_CENTER, unless otherwise specified for each type of dialog.

Specifying the position for non-toast dialogs is deprecated.

Last modified: 2014-09-30



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

comments powered by Disqus