Get the total number of spelling suggestions for a word.
#include <spellcheck_client.h>
int spellcheck_get_number_of_suggestions(spellcheck_suggestions_t *word_suggestions)
BlackBerry 10.0.0
The spellcheck_suggestions_t structure from which you want to retrieve the total number of spelling suggestions.
The spellcheck_get_number_of_suggestions() function retrieves the total number of spelling suggestion for a misspelled word from a spellcheck_suggestions_t structure.
The total number of spelling suggestion in the spellcheck_suggestions_t structure, SPELLCHECK_FAILURE with errno set otherwise.