java.lang.Object | |
↳ | android.provider.UserDictionary.Words |
Contains the user defined words.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | APP_ID | The uid of the application that inserted the word. | |||||||||
String | CONTENT_ITEM_TYPE | The MIME type of a CONTENT_URI sub-directory of a single word. | |||||||||
String | CONTENT_TYPE | The MIME type of CONTENT_URI providing a directory of words. | |||||||||
Uri | CONTENT_URI | The content:// style URL for this table | |||||||||
String | DEFAULT_SORT_ORDER | Sort by descending order of frequency. | |||||||||
String | FREQUENCY | The frequency column. | |||||||||
String | LOCALE | The locale that this word belongs to. | |||||||||
int | LOCALE_TYPE_ALL | The locale type to specify that the word is common to all locales. | |||||||||
int | LOCALE_TYPE_CURRENT | The locale type to specify that the word is for the current locale. | |||||||||
String | WORD | The word column. | |||||||||
String | _ID |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.provider.BaseColumns
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds a word to the dictionary, with the given frequency and the specified
specified locale type.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object
|
The uid of the application that inserted the word.
TYPE: INTEGER
The MIME type of a CONTENT_URI sub-directory of a single word.
The MIME type of CONTENT_URI providing a directory of words.
The content:// style URL for this table
Sort by descending order of frequency.
The frequency column. A value between 1 and 255. Higher values imply higher frequency.
TYPE: INTEGER
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().
TYPE: TEXT
The locale type to specify that the word is common to all locales.
The locale type to specify that the word is for the current locale.
The word column.
TYPE: TEXT
Adds a word to the dictionary, with the given frequency and the specified specified locale type.
context | the current application context |
---|---|
word | the word to add to the dictionary. This should not be null or empty. |
localeType | the locale type for this word. It should be one of LOCALE_TYPE_ALL or LOCALE_TYPE_CURRENT. |