INTERACTION_STATE enumeration (interactioncontext.h)

Specifies the state of the Interaction Context object.

Syntax

typedef enum INTERACTION_STATE {
  INTERACTION_STATE_IDLE = 0x00000000,
  INTERACTION_STATE_IN_INTERACTION = 0x00000001,
  INTERACTION_STATE_POSSIBLE_DOUBLE_TAP = 0x00000002,
  INTERACTION_STATE_MAX = 0xffffffff
} ;

Constants

 
INTERACTION_STATE_IDLE
Value: 0x00000000
There are no ongoing interactions and all transitional states (inertia, double tap) are complete. It is safe to reuse the Interaction Context object.
INTERACTION_STATE_IN_INTERACTION
Value: 0x00000001
There is an ongoing interaction. One or more contacts are detected, or inertia is in progress.
INTERACTION_STATE_POSSIBLE_DOUBLE_TAP
Value: 0x00000002
All contacts are lifted, but the time threshold for double tap has not been crossed.
INTERACTION_STATE_MAX
Value: 0xffffffff
Maximum number of interactions exceeded.

Requirements

   
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Header interactioncontext.h

See also

GetStateInteractionContext

Interaction Context Enumerations