Cancel a dialog.
#include <bps/dialog.h>
BPS_API int dialog_cancel(dialog_instance_t dialog)
BlackBerry 10.0.0
The dialog to cancel.
The dialog_cancel() function cancels the specified dialog that is already displayed.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.