API Reference

All classes and functions of the API

These are all the API classes available in the Predictive SDK.


PredictiveService Main class to interact with the Fleksy Predictive SDK
LanguagesHelper Static methods to do all language-related operations
Candidate Candidate for autocorrection, next word prediction or swipe typing
LanguageConfiguration The configuration of the language used to initialize the PredictiveService instance
LayoutKey Object defining a keyboard key
LayoutPoint Class representing language file’s path
LibraryConfiguration Fleksy Predictive Text SDK’s configuration
LicenseConfiguration Object used to pass the Fleksy SDK license credentials
LocalLanguage Contains the metadata of a local language file
RemoteLanguage Contains the metadata of a remote language file
Replacement Class for string replacement
TypingContext Constructor for various classes as context
CandidateType Class containing type of Candidate
DownloadStatus Type used to allow progress reporting in download methods
LayoutType Type used as input for the typing interactions of the user in the keyboard

If something needs to be added or if you find an error in our documentation, please let us know either on our GitHub or Discord.

Last updated on August 24, 2023