dialog_set_alert_icon()

Set the icon of a alert dialog.

Synopsis:

#include <bps/dialog.h>
 
BPS_API int dialog_set_alert_icon(dialog_instance_t dialog,
                                  const char *path)

Since:

BlackBerry 10.2.0

Arguments:

dialog

The dialog to update.

path

The absolute path of the icon to be shown.

Library:

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

Description:

The dialog_set_alert_icon() function sets the icon of the specified alert dialog.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.