spellcheck_init()

Initialize and connect an instance of the spell check client.

Synopsis:

#include <spellcheck_client.h>
 
spellcheck_context_t* spellcheck_init(void)

Since:

BlackBerry 10.0.0

Arguments:

Library:

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

Description:

The spellcheck_init() function initializes the spell check client and connects it with the application for use. This also allocates memory to a spellcheck_context_t structure for use in the spellcheck_check_spelling(), spellcheck_get_suggestions(), and spellcheck_destroy() functions. Destroy all spellcheck_context_t structures no longer needed by using the spellcheck_destroy() function to prevent memory leaks.

Returns:

A spellcheck_context_t structure to be used by the spell check client instance, or NULL if failure.

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus