Set the position of a toast dialog.
#include <bps/dialog.h>
BPS_API int dialog_set_toast_position(dialog_instance_t dialog,
dialog_position_t position)
BlackBerry 10.0.0
The dialog to update.
The position to set.
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.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.