gesture_state_e

Gesture state enumeration.

Synopsis:

#include <gestures/types.h>
 
typedef enum {
      GESTURE_STATE_NONE = 0   
      GESTURE_STATE_UNRECOGNIZED   
      GESTURE_STATE_RECOGNIZED   
      GESTURE_STATE_UPDATING   
      GESTURE_STATE_COMPLETE   
      GESTURE_STATE_FAILED   
} gesture_state_e;

Data:

GESTURE_STATE_NONE
The initial state at which a gesture recognizer starts.
GESTURE_STATE_UNRECOGNIZED
The state of a gesture recognizer after it has been added to a gesture set; it is now ready to receive mtouch and timer events.
GESTURE_STATE_RECOGNIZED
The state of a gesture recognizer after it has received one mtouch or timer event.

This state is valid only for composite gestures.

GESTURE_STATE_UPDATING
The state of a gesture recognizer while it is receiving mtouch or timer events.

This state is valid only for composite gestures.

GESTURE_STATE_COMPLETE
The state of a gesture recognizer when it has received all mtouch or timer events that fulfill the requirements of detecting its gesture.
GESTURE_STATE_FAILED
The state of a gesture recognizer when requirements of detecting its gesture is not fulfilled.

Library:

libgestures

Description:

This enumeration represents state of a gesture as it is being processed. The possible next state depends on the type of gesture.