Język

TouchInteractionState Enum

Definition

Identifies the touch interaction state of a display's touch interaction controller.

public enum TouchInteractionState
type TouchInteractionState = 
Inheritance
TouchInteractionState

Fields

Name Value Description
Clear 0

The state where the user is not touching the screen.

Android reference for android.accessibilityservice.TouchInteractionController.STATE_CLEAR.

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.

TouchInteracting 1

The state where the user is touching the screen and the service is receiving motion events.

Android reference for android.accessibilityservice.TouchInteractionController.STATE_TOUCH_INTERACTING.

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.

TouchExploring 2

The state where the user is explicitly exploring the screen. The service is not receiving motion events.

Android reference for android.accessibilityservice.TouchInteractionController.STATE_TOUCH_EXPLORING.

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.

Dragging 3

The state where the user is dragging with two fingers. The service is not receiving motion events. The selected finger is being dispatched to the rest of the input pipeline to execute the drag.

Android reference for android.accessibilityservice.TouchInteractionController.STATE_DRAGGING.

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.

Delegating 4

The user is performing a gesture which is being passed through to the input pipeline as-is. The service is not receiving motion events.

Android reference for android.accessibilityservice.TouchInteractionController.STATE_DELEGATING.

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

This .NET enum represents the Android STATE_ constants. The states distinguish no touch, service-controlled touch interaction, touch exploration, dragging, and gestures passed directly to the input system.

Android touch interaction controller reference.

Applies to