Udostępnij za pośrednictwem


InputMethodManager.ShowSoftInputFromInputMethod(IBinder, ShowFlags) Method

Definition

Show the input method's soft input area, so the user sees the input method window and can interact with it.

[Android.Runtime.Register("showSoftInputFromInputMethod", "(Landroid/os/IBinder;I)V", "")]
public void ShowSoftInputFromInputMethod (Android.OS.IBinder? token, Android.Views.InputMethods.ShowFlags flags);
[<Android.Runtime.Register("showSoftInputFromInputMethod", "(Landroid/os/IBinder;I)V", "")>]
member this.ShowSoftInputFromInputMethod : Android.OS.IBinder * Android.Views.InputMethods.ShowFlags -> unit

Parameters

token
IBinder

Supplies the identifying token given to an input method when it was started, which allows it to perform this operation on itself.

flags
ShowFlags

Provides additional operating flags. Currently may be 0 or have the #SHOW_IMPLICIT or #SHOW_FORCED bit set.

Attributes

Remarks

Show the input method's soft input area, so the user sees the input method window and can interact with it. This can only be called from the currently active input method, as validated by the given token.

This member is deprecated. Use InputMethodService#requestShowSelf(int) instead. This method was intended for IME developers who should be accessing APIs through the service. APIs in this class are intended for app developers interacting with the IME.

Java documentation for android.view.inputmethod.InputMethodManager.showSoftInputFromInputMethod(android.os.IBinder, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to