Set whether to display the field as a password input.
#include <bps/dialog.h>
BPS_API int dialog_set_prompt_display_as_password(dialog_instance_t dialog,
bool display_as_password)
BlackBerry 10.0.0
The dialog to update.
If true display the input field as a password input field, if false, display the input field normally.
The dialog_set_prompt_display_as_password() function sets whether the input field of the prompt dialog appears as a password input field. That is, the input is obscured.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.