Język

HandwritingGestureResult Enum

Definition

public enum HandwritingGestureResult
type HandwritingGestureResult = 
Inheritance
HandwritingGestureResult

Fields

Name Value Description
Unknown 0

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

Android reference for android.view.inputmethod.InputConnection.HANDWRITING_GESTURE_RESULT_UNKNOWN.

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.

Success 1

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

Android reference for android.view.inputmethod.InputConnection.HANDWRITING_GESTURE_RESULT_SUCCESS.

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.

Unsupported 2

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

Android reference for android.view.inputmethod.InputConnection.HANDWRITING_GESTURE_RESULT_UNSUPPORTED.

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.

Failed 3

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.

Android reference for android.view.inputmethod.InputConnection.HANDWRITING_GESTURE_RESULT_FAILED.

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.

Cancelled 4

Result for performHandwritingGesture(HandwritingGesture,Executor,IntConsumer) when HandwritingGesture was cancelled. This happens when the InputConnection is or becomes invalidated while performing the gesture, for example because a new InputConnection was started, or due to InputMethodManager.invalidateInput.

Android reference for android.view.inputmethod.InputConnection.HANDWRITING_GESTURE_RESULT_CANCELLED.

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.

Fallback 5

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

Android reference for android.view.inputmethod.InputConnection.HANDWRITING_GESTURE_RESULT_FALLBACK.

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.

Applies to