InputMethodManager Class

Definition

Central system API to the overall input method framework (IMF) architecture, which arbitrates interaction between applications and the current input method.

[Android.Runtime.Register("android/view/inputmethod/InputMethodManager", ApiSince=3, DoNotGenerateAcw=true)]
public sealed class InputMethodManager : Java.Lang.Object
type InputMethodManager = class
    inherit Object
Inheritance
InputMethodManager
Attributes

Remarks

Portions of this page are modifications based on work created and shared by the  and used according to terms described in the 

Fields

ShowForced
Obsolete.

Flag for ShowSoftInput(View, ShowFlags) to indicate that the user has forced the input method open (such as by long-pressing menu) so it should not be closed until they explicitly do so.

ShowImplicit
Obsolete.

Flag for ShowSoftInput(View, ShowFlags) to indicate that this is an implicit request to show the input window, not as the result of a direct request by the user.

Properties

Class

Returns the unique instance of Class that represents this object's class.

(Inherited from Object)
CurrentInputMethodSubtype

Returns the current input method subtype.

EnabledInputMethodList
Handle

The handle to the underlying Android instance.

(Inherited from Object)
InputMethodList
IsAcceptingText

Return true if the currently served view is accepting full text edits.

IsActive

Return true if any view is currently active in the input method.

IsFullscreenMode

Allows you to discover whether the attached input method is running in fullscreen mode.

JniIdentityHashCode (Inherited from Object)
JniPeerMembers
LastInputMethodSubtype
PeerReference (Inherited from Object)
ShortcutInputMethodsAndSubtypes

Returns a map of all shortcut input method info and their subtypes.

ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Object)
ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Object)

Methods

Clone()

Creates and returns a copy of this Object.

(Inherited from Object)
DispatchKeyEventFromInputMethod(View, KeyEvent)
DisplayCompletions(View, CompletionInfo[])
Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Equals(Object)

Compares this instance with the specified object and indicates if they are equal.

(Inherited from Object)
FromContext(Context)
GetEnabledInputMethodSubtypeList(InputMethodInfo, Boolean)

Returns a list of enabled input method subtypes for the specified input method info.

GetHashCode()

Returns an integer hash code for this object.

(Inherited from Object)
HideSoftInputFromInputMethod(IBinder, HideSoftInputFlags)

Close/hide the input method's soft input area, so the user no longer sees it or can interact with it.

HideSoftInputFromWindow(IBinder, HideSoftInputFlags)
HideSoftInputFromWindow(IBinder, HideSoftInputFlags, ResultReceiver)

Request to hide the soft input window from the context of the window that is currently accepting input.

HideStatusIcon(IBinder)
InvokeIsActive(View)

Return true if the given view is the currently active view for the input method.

IsWatchingCursor(View)
Obsolete.

Return true if the current input method wants to watch the location of the input editor's cursor in its window.

JavaFinalize()

Invoked when the garbage collector has detected that this instance is no longer reachable.

(Inherited from Object)
Notify()

Causes a thread which is waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
NotifyAll()

Causes all threads which are waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
RestartInput(View)

If the input method is currently connected to the given view, restart it with its new contents.

SendAppPrivateCommand(View, String, Bundle)

Call AppPrivateCommand(String, Bundle) on the current Input Method.

SetAdditionalInputMethodSubtypes(String, InputMethodSubtype[])

Set additional input method subtypes.

SetCurrentInputMethodSubtype(InputMethodSubtype)

Switch to a new input method subtype of the current input method.

SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
SetInputMethod(IBinder, String)

Force switch to a new input method component.

SetInputMethodAndSubtype(IBinder, String, InputMethodSubtype)

Force switch to a new input method and subtype.

ShouldOfferSwitchingToNextInputMethod(IBinder)

Returns true if the current IME needs to offer the users ways to switch to a next input method (e.g. a globe key.

ShowInputMethodAndSubtypeEnabler(String)

Show the settings for enabling subtypes of the specified input method.

ShowInputMethodPicker()
ShowSoftInput(View, ShowFlags)
ShowSoftInput(View, ShowFlags, ResultReceiver)

Explicitly request that the current input method's soft input area be shown to the user, if needed.

ShowSoftInputFromInputMethod(IBinder, ShowFlags)

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

ShowStatusIcon(IBinder, String, Int32)
SwitchToLastInputMethod(IBinder)

Force switch to the last used input method and subtype.

SwitchToNextInputMethod(IBinder, Boolean)

Force switch to the next input method and subtype.

ToArray<T>() (Inherited from Object)
ToggleSoftInput(ShowFlags, HideSoftInputFlags)
ToggleSoftInputFromWindow(IBinder, ShowSoftInputFlags, HideSoftInputFlags)

This method toggles the input method window display.

ToString()

Returns a string containing a concise, human-readable description of this object.

(Inherited from Object)
UnregisterFromRuntime() (Inherited from Object)
UpdateCursor(View, Int32, Int32, Int32, Int32)
Obsolete.

Report the current cursor location in its window.

UpdateCursorAnchorInfo(View, CursorAnchorInfo)

Report positional change of the text insertion point and/or characters in the composition string.

UpdateExtractedText(View, Int32, ExtractedText)
UpdateSelection(View, Int32, Int32, Int32, Int32)

Report the current selection range.

ViewClicked(View)

Notify the event when the user tapped or clicked the text view.

Wait()

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object.

(Inherited from Object)
Wait(Int64)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)
Wait(Int64, Int32)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)

Explicit Interface Implementations

IJavaObjectEx.IsProxy (Inherited from Object)
IJavaObjectEx.KeyHandle (Inherited from Object)
IJavaObjectEx.NeedsActivation (Inherited from Object)
IJavaObjectEx.ToLocalJniHandle() (Inherited from Object)
IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to