dialog_set_toast_position()

Set the position of a toast dialog.

Synopsis:

#include <bps/dialog.h>
 
BPS_API int dialog_set_toast_position(dialog_instance_t dialog,
                                      dialog_position_t position)

Since:

BlackBerry 10.0.0

Arguments:

dialog

The dialog to update.

position

The position to set.

Library:

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

Description:

The dialog_set_toast_position() function sets the position of the specified toast dialog. If the toast dialog position is not set, the position of the toast dialog is set to the default value of DIALOG_POSITION_MIDDLE_CENTER.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.