/**@class android.provider.UserDictionary.Words implements android.provider.BaseColumns @extends java.lang.Object Contains the user defined words. */ var Words = { /** The content:// style URL for this table */ CONTENT_URI : "null", /** The MIME type of {@link #CONTENT_URI} providing a directory of words. */ CONTENT_TYPE : "vnd.android.cursor.dir/vnd.google.userword", /** The MIME type of a {@link #CONTENT_URI} sub-directory of a single word. */ CONTENT_ITEM_TYPE : "vnd.android.cursor.item/vnd.google.userword", /***/ _ID : "_id", /** The word column. <p>TYPE: TEXT</p> */ WORD : "word", /** The frequency column. A value between 1 and 255. Higher values imply higher frequency. <p>TYPE: INTEGER</p> */ FREQUENCY : "frequency", /** The locale that this word belongs to. Null if it pertains to all locales. Locale is as defined by the string returned by Locale.toString(). <p>TYPE: TEXT</p> */ LOCALE : "locale", /** The uid of the application that inserted the word. <p>TYPE: INTEGER</p> */ APP_ID : "appid", /** An optional shortcut for this word. When the shortcut is typed, supporting IMEs should suggest the word in this row as an alternate spelling too. */ SHORTCUT : "shortcut", /** @deprecated Use {@link #addWord(Context, String, int, String, Locale)}. */ LOCALE_TYPE_ALL : "0", /** @deprecated Use {@link #addWord(Context, String, int, String, Locale)}. */ LOCALE_TYPE_CURRENT : "1", /** Sort by descending order of frequency. */ DEFAULT_SORT_ORDER : "frequency DESC", /**Adds a word to the dictionary, with the given frequency and the specified specified locale type. @param {Object {Context}} context the current application context @param {String} word the word to add to the dictionary. This should not be null or empty. @param {Number} localeType the locale type for this word. It should be one of {@link #LOCALE_TYPE_ALL} or {@link #LOCALE_TYPE_CURRENT}. @param localeType the locale type for this word. It should be one of {@link #LOCALE_TYPE_ALL} or {@link #LOCALE_TYPE_CURRENT}. */ addWord : function( ) {}, /**Adds a word to the dictionary, with the given frequency and the specified locale type. @param {Object {Context}} context the current application context @param {String} word the word to add to the dictionary. This should not be null or empty. @param {Number} shortcut optional shortcut spelling for this word. When the shortcut is typed, the word may be suggested by applications that support it. May be null. @param {String} locale the locale to insert the word for, or null to insert the word for all locales. */ addWord : function( ) {}, };