public class InputMethodService.InputMethodImpl
extends AbstractInputMethodService.AbstractInputMethodImpl
| java.lang.Object | ||
| android.inputmethodservice.AbstractInputMethodService.AbstractInputMethodImpl | ||
| android.inputmethodservice.InputMethodService.InputMethodImpl | ||
AbstractInputMethodService.AbstractInputMethodImpl具体实现,提供输入方法的所有标准行为。
Inherited constants |
|---|
android.view.inputmethod.InputMethod
|
Public constructors |
|
|---|---|
InputMethodService.InputMethodImpl() |
|
公共方法(Public methods) |
|
|---|---|
void |
attachToken(IBinder token) 注意附加系统提供的给定窗口令牌。 |
void |
bindInput(InputBinding binding) 处理新的输入绑定,完成后调用 |
void |
changeInputMethodSubtype(InputMethodSubtype subtype) |
void |
hideSoftInput(int flags, ResultReceiver resultReceiver) 处理系统请求隐藏软输入区域。 |
void |
restartInput(InputConnection ic, EditorInfo attribute) |
void |
showSoftInput(int flags, ResultReceiver resultReceiver) 处理系统请求显示软输入区域。 |
void |
startInput(InputConnection ic, EditorInfo attribute) |
void |
unbindInput() 清除当前的输入绑定。 |
继承方法(Inherited methods) |
|
|---|---|
android.inputmethodservice.AbstractInputMethodService.AbstractInputMethodImpl
|
|
java.lang.Object
|
|
android.view.inputmethod.InputMethod
|
|
void attachToken (IBinder token)
注意附加系统提供的给定窗口令牌。
| 参数(Parameters) | |
|---|---|
token |
IBinder
|
void bindInput (InputBinding binding)
处理新的输入绑定,完成后调用 InputMethodService.onBindInput() 。
| 参数(Parameters) | |
|---|---|
binding |
InputBinding
|
void changeInputMethodSubtype (InputMethodSubtype subtype)
| 参数(Parameters) | |
|---|---|
subtype |
InputMethodSubtype
|
void hideSoftInput (int flags,
ResultReceiver resultReceiver)
处理系统请求隐藏软输入区域。
| 参数(Parameters) | |
|---|---|
flags |
int
|
resultReceiver |
ResultReceiver
|
void restartInput (InputConnection ic, EditorInfo attribute)
| 参数(Parameters) | |
|---|---|
ic |
InputConnection
|
attribute |
EditorInfo
|
void showSoftInput (int flags,
ResultReceiver resultReceiver)
处理系统请求显示软输入区域。
| 参数(Parameters) | |
|---|---|
flags |
int
|
resultReceiver |
ResultReceiver
|
void startInput (InputConnection ic, EditorInfo attribute)
| 参数(Parameters) | |
|---|---|
ic |
InputConnection
|
attribute |
EditorInfo
|