Set the icon of an icon toast dialog.
#include <bps/dialog.h>
BPS_API int dialog_set_toast_icon(dialog_instance_t dialog,
const char *path)
BlackBerry 10.0.0
The dialog to update.
The absolute path of the icon to be shown.
The dialog_set_toast_icon() function sets the icon of the specified icon toast dialog.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.