Destroy a dialog.
#include <bps/dialog.h>
BPS_API int dialog_destroy(dialog_instance_t dialog)
BlackBerry 10.0.0
The dialog to destroy.
The dialog_destroy() function cleans up resources for the specified dialog. You can provide any type of dialog as an argument to this function. Call this function when the dialog is no longer being used.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.