Android.InputMethodServices.InputMethodService Members

The members of Android.InputMethodServices.InputMethodService are listed below.

See Also: Inherited members from Android.InputMethodServices.AbstractInputMethodService

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

BackDispositionAndroid.InputMethodServices.BackDisposition.
[read-only]
CandidatesHiddenVisibilityAndroid.Views.ViewStates. Returns the visibility mode (either Android.Views.View.INVISIBLE or Android.Views.View.GONE) of the candidates view when it is not shown.
[read-only]
CurrentInputBindingAndroid.Views.InputMethods.InputBinding. Return the currently active InputBinding for the input method, or null if there is none.
[read-only]
CurrentInputConnectionAndroid.Views.InputMethods.IInputConnection. Retrieve the currently active InputConnection that is bound to the input method, or null if there is none.
[read-only]
CurrentInputEditorInfoAndroid.Views.InputMethods.EditorInfo.
[read-only]
CurrentInputStartedbool.
ExtractViewShownbool. Return whether the fullscreen extract view is shown.
[read-only]
InputMethodWindowRecommendedHeightint.
[read-only]
IsFullscreenModebool. Return whether the input method is currently running in fullscreen mode.
[read-only]
IsInputViewShownbool. Return whether the soft input view is currently shown to the user.
[read-only]
IsShowInputRequestedbool. Returns true if we have been asked to show our input view.
[read-only]
LayoutInflaterAndroid.Views.LayoutInflater.
[read-only]
MaxWidthint. Return the maximum width, in pixels, available the input method.
[read-only]
WindowAndroid.App.Dialog.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

EnableHardwareAcceleration() : bool
You can call this to try to enable hardware accelerated drawing for your IME.
GetTextForImeAction(Android.Views.InputMethods.ImeAction) : string
Documentation for this section has not yet been entered.
GetTextForImeActionFormatted(Android.Views.InputMethods.ImeAction) : Java.Lang.ICharSequence
Return text that can be used as a button label for the given Android.Views.InputMethods.EditorInfo.ImeOptions.
HideStatusIcon()
HideWindow()
OnAppPrivateCommand(string, Android.OS.Bundle)
OnBindInput()
Called when a new client has bound to the input method.
OnComputeInsets(Android.InputMethodServices.InputMethodService.Insets)
Compute the interesting insets into your UI.
OnConfigureWindow(Android.Views.Window, bool, bool)
Update the given window's parameters for the given mode.
OnCreateCandidatesView() : Android.Views.View
Create and return the view hierarchy used to show candidates.
OnCreateExtractTextView() : Android.Views.View
Called by the framework to create the layout for showing extacted text.
override
OnCreateInputMethodInterface() : Android.InputMethodServices.AbstractInputMethodService.AbstractInputMethodImpl
Implement to return our standard NoType:android/inputmethodservice/InputMethodService$InputMethodImpl;Href=../../../reference/android/inputmethodservice/InputMethodService.InputMethodImpl.html.
override
OnCreateInputMethodSessionInterface() : Android.InputMethodServices.AbstractInputMethodService.AbstractInputMethodSessionImpl
Implement to return our standard NoType:android/inputmethodservice/InputMethodService$InputMethodSessionImpl;Href=../../../reference/android/inputmethodservice/InputMethodService.InputMethodSessionImpl.html.
OnCreateInputView() : Android.Views.View
Create and return the view hierarchy used for the input area (such as a soft keyboard).
OnDisplayCompletions(Android.Views.InputMethods.CompletionInfo[])
Called when the application has reported auto-completion candidates that it would like to have the input method displayed.
OnEvaluateFullscreenMode() : bool
Override this to control when the input method should run in fullscreen mode.
OnEvaluateInputViewShown() : bool
Override this to control when the soft input area should be shown to the user.
OnExtractedCursorMovement(int, int)
This is called when the user has performed a cursor movement in the extracted text view, when it is running in fullscreen mode.
OnExtractedSelectionChanged(int, int)
This is called when the user has moved the cursor in the extracted text view, when running in fullsreen mode.
OnExtractedTextClicked()
This is called when the user has clicked on the extracted text view, when running in fullscreen mode.
OnExtractingInputChanged(Android.Views.InputMethods.EditorInfo)
This is called when, while currently displayed in extract mode, the current input target changes.
OnExtractTextContextMenuItem(int) : bool
This is called when the user has selected a context menu item from the extracted text view, when running in fullscreen mode.
OnFinishCandidatesView(bool)
Called when the candidates view is being hidden from the user.
OnFinishInput()
Called to inform the input method that text input has finished in the last editor.
OnFinishInputView(bool)
Called when the input view is being hidden from the user.
OnInitializeInterface()
This is a hook that subclasses can use to perform initialization of their interface.
override
OnKeyDown(Android.Views.Keycode, Android.Views.KeyEvent) : bool
Override this to intercept key down events before they are processed by the application.
override
OnKeyLongPress(Android.Views.Keycode, Android.Views.KeyEvent) : bool
Default implementation of NoType:android/view/KeyEvent$Callback;Href=../../../reference/android/view/KeyEvent.Callback.html#onKeyLongPress(int, android.view.KeyEvent): always returns false (doesn't handle the event).
override
OnKeyMultiple(Android.Views.Keycode, int, Android.Views.KeyEvent) : bool
Override this to intercept special key multiple events before they are processed by the application.
override
OnKeyUp(Android.Views.Keycode, Android.Views.KeyEvent) : bool
Override this to intercept key up events before they are processed by the application.
OnShowInputRequested(Android.Views.InputMethods.ShowFlags, bool) : bool
The system has decided that it may be time to show your input method.
OnStartCandidatesView(Android.Views.InputMethods.EditorInfo, bool)
Called when only the candidates view has been shown for showing processing as the user enters text through a hard keyboard.
OnStartInput(Android.Views.InputMethods.EditorInfo, bool)
Called to inform the input method that text input has started in an editor.
OnStartInputView(Android.Views.InputMethods.EditorInfo, bool)
Called when the input view is being shown and input has started on a new editor.
OnUnbindInput()
Called when the previous bound client is no longer associated with the input method.
OnUpdateCursor(Android.Graphics.Rect)
Called when the application has reported a new location of its text cursor.
OnUpdateCursorAnchorInfo(Android.Views.InputMethods.CursorAnchorInfo)
Called when the application has reported a new location of its text insertion point and characters in the composition string.
OnUpdateExtractedText(int, Android.Views.InputMethods.ExtractedText)
Called when the application has reported new extracted text to be shown due to changes in its current text state.
OnUpdateExtractingViews(Android.Views.InputMethods.EditorInfo)
Called when the fullscreen-mode extracting editor info has changed, to update the state of its UI such as the action buttons shown.
OnUpdateExtractingVisibility(Android.Views.InputMethods.EditorInfo)
Called when the fullscreen-mode extracting editor info has changed, to determine whether the extracting (extract text and candidates) portion of the UI should be shown.
OnUpdateSelection(int, int, int, int, int, int)
Called when the application has reported a new selection region of the text.
OnViewClicked(bool)
Called when the user tapped or clicked a text view.
OnWindowHidden()
Called when the input method window has been hidden from the user, after previously being visible.
OnWindowShown()
Called when the input method window has been shown to the user, after previously not being visible.
RequestHideSelf(Android.Views.InputMethods.HideSoftInputFlags)
Close this input method's soft input area, removing it from the display.
SendDefaultEditorAction(bool) : bool
Ask the input target to execute its default action via Android.Views.InputMethods.InputConnection.performEditorAction(int).
SendDownUpKeyEvents(Android.Views.Keycode)
Send the given key event code (as defined by Android.Views.KeyEvent) to the current input connection is a key down + key up event pair.
SendKeyChar(char)
Send the given UTF-16 character to the current input connection.
SetCandidatesView(Android.Views.View)
Replaces the current candidates view with a new one.
SetCandidatesViewShown(bool)
Controls the visibility of the candidates display area.
SetExtractView(Android.Views.View)
SetInputView(Android.Views.View)
Replaces the current input view with a new one.
ShowStatusIcon(int)
ShowWindow(bool)
SwitchInputMethod(string)
Force switch to a new input method, as identified by id.
UpdateFullscreenMode()
Re-evaluate whether the input method should be running in fullscreen mode, and update its UI if this has changed since the last time it was evaluated.
UpdateInputViewShown()
Re-evaluate whether the soft input area should currently be shown, and update its UI if this has changed since the last time it was evaluated.

Protected Methods