InputMethodManager.SwitchToLastInputMethod(IBinder) Método

Definición

Force switch to the last used input method and subtype.

[Android.Runtime.Register("switchToLastInputMethod", "(Landroid/os/IBinder;)Z", "")]
public bool SwitchToLastInputMethod(Android.OS.IBinder? imeToken);
[<Android.Runtime.Register("switchToLastInputMethod", "(Landroid/os/IBinder;)Z", "")>]
member this.SwitchToLastInputMethod : Android.OS.IBinder -> bool

Parámetros

imeToken
IBinder

Proporciona el token de identificación proporcionado a un método de entrada cuando se inició, lo que le permite realizar esta operación en sí misma.

Devoluciones

True si el método de entrada actual y el subtipo se cambiaron correctamente al último método de entrada y subtipo usado.

Atributos

Comentarios

Force switch to the last used input method and subtype. Si el último método de entrada no tenía ningún subtipo, el marco simplemente cambiará al último método de entrada sin ningún subtipo especificado.

Este miembro está en desuso. Utilice InputMethodService#switchToPreviousInputMethod() en su lugar. Este método estaba pensado para desarrolladores de IME que deberían acceder a las API a través del servicio. Las API de esta clase están diseñadas para desarrolladores de aplicaciones que interactúan con el IME.

Java documentación para android.view.inputmethod.InputMethodManager.switchToLastInputMethod(android.os.IBinder).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a