dialog_cancel()

Cancel a dialog.

Synopsis:

#include <bps/dialog.h>
 
BPS_API int dialog_cancel(dialog_instance_t dialog)

Since:

BlackBerry 10.0.0

Arguments:

dialog

The dialog to cancel.

Library:

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

Description:

The dialog_cancel() function cancels the specified dialog that is already displayed.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.