@CalledByNative private void requestTextCheck(String text){
  if (text.endsWith(".")) {
    text=text.substring(0,text.length() - 1);
  }
  mSpellCheckerSession.getSentenceSuggestions(new TextInfo[]{new TextInfo(text)},0);
}

@ CalledByNative private void requestTextCheck ( String text ) { if ( text . endsWith ( "." ) ) { text = text . substring ( 0 , text . length ( ) - 1 ) ; } mSpellCheckerSession . getSentenceSuggestions ( new TextInfo [ ] { new TextInfo ( text ) } , 0 ) ; }
queries the input text against the spellcheckersession .
