dialog_set_prompt_display_as_password()

Set whether to display the field as a password input.

Synopsis:

#include <bps/dialog.h>
 
BPS_API int dialog_set_prompt_display_as_password(dialog_instance_t dialog,
                                                  bool display_as_password)

Since:

BlackBerry 10.0.0

Arguments:

dialog

The dialog to update.

display_as_password

If true display the input field as a password input field, if false, display the input field normally.

Library:

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

Description:

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.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.