WindowManagerLayoutParams.MayUseInputMethod(WindowManagerFlags) 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.
Given a particular set of window manager flags, determine whether such a window may be a target for an input method when it has focus.
[Android.Runtime.Register("mayUseInputMethod", "(I)Z", "")]
public static bool MayUseInputMethod (Android.Views.WindowManagerFlags flags);
[<Android.Runtime.Register("mayUseInputMethod", "(I)Z", "")>]
static member MayUseInputMethod : Android.Views.WindowManagerFlags -> bool
Parameters
- flags
- WindowManagerFlags
The current window manager flags.
Returns
Returns true
if a window with the given flags would be able to
use the input method, false
if not.
- Attributes
Remarks
Given a particular set of window manager flags, determine whether such a window may be a target for an input method when it has focus. In particular, this checks the #FLAG_NOT_FOCUSABLE
and #FLAG_ALT_FOCUSABLE_IM
flags and returns true if the combination of the two corresponds to a window that can use the input method.
Java documentation for android.view.WindowManager.LayoutParams.mayUseInputMethod(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.