Language

HandwritingGestureResult Enum

Definition

Identifies the reported outcome of a handwriting gesture.

public enum HandwritingGestureResult
type HandwritingGestureResult = 
Inheritance
HandwritingGestureResult

Fields

Name Value Description
Unknown 0

Result for PerformHandwritingGesture(HandwritingGesture, IExecutor, IIntConsumer) when the editor did not provide a 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, IExecutor, IIntConsumer) when the gesture 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, IExecutor, IIntConsumer) when the gesture 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, IExecutor, IIntConsumer) when the gesture failed and there was no applicable FallbackText or it could not be applied for another 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, IExecutor, IIntConsumer) when the gesture was cancelled. This happens when the input connection is or becomes invalidated while performing the gesture, for example because a new input connection was started or because of InvalidateInput(View).

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, IExecutor, IIntConsumer) when the gesture failed but FallbackText 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.

Remarks

These values identify the documented outcomes reported through a gesture result callback, which receives an integer.

Applies to