InputMethodService.InputMethodSessionImpl.ToggleSoftInput Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Handles a request to toggle the IME visibility.
[Android.Runtime.Register("toggleSoftInput", "(II)V", "GetToggleSoftInput_IIHandler")]
public override void ToggleSoftInput (Android.Views.InputMethods.ShowFlags showFlags, Android.Views.InputMethods.HideSoftInputFlags hideFlags);
[<Android.Runtime.Register("toggleSoftInput", "(II)V", "GetToggleSoftInput_IIHandler")>]
override this.ToggleSoftInput : Android.Views.InputMethods.ShowFlags * Android.Views.InputMethods.HideSoftInputFlags -> unit
Parameters
- showFlags
- ShowFlags
- hideFlags
- HideSoftInputFlags
- Attributes
Remarks
Handles a request to toggle the IME visibility.
This member is deprecated. Starting in Build.VERSION_CODES#S
the system no longer invokes this method, instead it explicitly shows or hides the IME. An InputMethodService
wishing to toggle its own visibility should instead invoke InputMethodService#requestShowSelf
or InputMethodService#requestHideSelf
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.