Set the maximum number of characters of the input field of a prompt dialog.
#include <bps/dialog.h>
BPS_API int dialog_set_prompt_maximum_characters(dialog_instance_t dialog,
int max_chars)
BlackBerry 10.0.0
The dialog to update.
The maximum number of characters.
The dialog_set_prompt_maximum_characters() function sets the maximum number of characters that can be entered in the input field of a prompt dialog.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.