INTERACTION_STATE enumeration

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
} INTERACTION_STATE;

Constants

INTERACTION_STATE_IDLE

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

There is an ongoing interaction. One or more contacts are detected, or inertia is in progress.

INTERACTION_STATE_POSSIBLE_DOUBLE_TAP

All contacts are lifted, but the time threshold for double tap has not been crossed.

INTERACTION_STATE_MAX

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

Interaction Context Enumerations
GetStateInteractionContext

 

 

Community Additions

ADD
Show:
© 2014 Microsoft