public class AutoText 
 extends Object 
| java.lang.Object | |
| android.text.AutoText | |
该课程访问纠正字典以频繁拼写错误。
| 公共方法(Public methods) | |
|---|---|
|  static String |  get(CharSequence src, int start, int end, View view) 为指定范围的文本检索可能的拼写更正。 | 
|  static int |  getSize(View view) 返回自动文本字典的大小。 | 
| 继承方法(Inherited methods) | |
|---|---|
|  From class  java.lang.Object  | |
String get (CharSequence src, int start, int end, View view)
为指定范围的文本检索可能的拼写更正。 如果没有找到更正,则返回null。 该视图用于获取当前的语言环境和资源。
| 参数(Parameters) | |
|---|---|
| src | CharSequence | 
| start | int | 
| end | int | 
| view | View | 
| 返回(Returns) | |
|---|---|
| String | |
int getSize (View view)
返回自动文本字典的大小。 如果没有可用于当前语言环境的自动更正数据,则返回值可以为零。
| 参数(Parameters) | |
|---|---|
| view | View: used to retrieve the current Locale and Resources. | 
| 返回(Returns) | |
|---|---|
| int | the number of entries in the auto text dictionary |