dialog_set_prompt_input_placeholder()

Set the placeholder text of the input field of a prompt dialog.

Synopsis:

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

Since:

BlackBerry 10.0.0

Arguments:

dialog

The dialog to update.

input_placeholder

The input field placeholder text to display.

Library:

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

Description:

The dialog_set_prompt_input_placeholder() function sets the text to display when there is no text in the input field and the field does not have the focus.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.