Compartilhar via


BaseInputConnection.InterfaceConsts Class

Definition

public static class BaseInputConnection.InterfaceConsts
type BaseInputConnection.InterfaceConsts = class
Inheritance
BaseInputConnection.InterfaceConsts

Remarks

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.

Fields

CursorUpdateFilterCharacterBounds
Obsolete.

The editor is requested to call InputMethodManager#updateCursorAnchorInfo(android.view.View, CursorAnchorInfo) with new character bounds CursorAnchorInfo#getCharacterBounds(int) whenever cursor/anchor position is changed.

CursorUpdateFilterEditorBounds
Obsolete.

The editor is requested to call InputMethodManager#updateCursorAnchorInfo(android.view.View, CursorAnchorInfo) with new EditorBoundsInfo whenever cursor/anchor position is changed.

CursorUpdateFilterInsertionMarker
Obsolete.

The editor is requested to call InputMethodManager#updateCursorAnchorInfo(android.view.View, CursorAnchorInfo) with new Insertion marker info CursorAnchorInfo#getInsertionMarkerFlags(), CursorAnchorInfo#getInsertionMarkerBaseline(), etc whenever cursor/anchor position is changed.

CursorUpdateFilterTextAppearance
Obsolete.

The editor is requested to call InputMethodManager#updateCursorAnchorInfo(android.view.View, CursorAnchorInfo) with new text appearance info CursorAnchorInfo#getTextAppearanceInfo()} whenever cursor/anchor position is changed.

CursorUpdateFilterVisibleLineBounds
Obsolete.

The editor is requested to call InputMethodManager#updateCursorAnchorInfo(android.view.View, CursorAnchorInfo) with new visible line bounds CursorAnchorInfo#getVisibleLineBounds() whenever cursor/anchor position is changed, the editor or its parent is scrolled or the line bounds changed due to text updates.

GetExtractedTextMonitor
Obsolete.

Flag for use with #getExtractedText to indicate you would like to receive updates when the extracted text changes.

GetTextWithStyles
Obsolete.

Flag for use with #getTextAfterCursor, #getTextBeforeCursor and #getSurroundingText to have style information returned along with the text.

HandwritingGestureResultCancelled
Obsolete.

Result for #performHandwritingGesture(HandwritingGesture, Executor, IntConsumer) when HandwritingGesture was cancelled.

HandwritingGestureResultFailed
Obsolete.

Result for #performHandwritingGesture(HandwritingGesture, Executor, IntConsumer) when HandwritingGesture failed and there was no applicable HandwritingGesture#getFallbackText() or it couldn't be applied for any other reason.

HandwritingGestureResultFallback
Obsolete.

Result for #performHandwritingGesture(HandwritingGesture, Executor, IntConsumer) when HandwritingGesture failed but HandwritingGesture#getFallbackText() was committed.

HandwritingGestureResultSuccess
Obsolete.

Result for #performHandwritingGesture(HandwritingGesture, Executor, IntConsumer) when HandwritingGesture is successfully executed on text.

HandwritingGestureResultUnknown
Obsolete.

Result for #performHandwritingGesture(HandwritingGesture, Executor, IntConsumer) when editor didn't provide any result.

HandwritingGestureResultUnsupported
Obsolete.

Result for #performHandwritingGesture(HandwritingGesture, Executor, IntConsumer) when HandwritingGesture is unsupported by the current editor.

InputContentGrantReadUriPermission
Obsolete.

When this flag is used, the editor will be able to request read access to the content URI contained in the InputContentInfo object.

Applies to