Kanzi 3.9.10
TouchState Enum Reference

Indicates the states of touch events. More...

Inheritance diagram for TouchState:
[legend]

Public Member Functions

 TouchState (int value)
 Constructs a TouchState of an integer value.
 
 TouchState (TouchState enum_)
 Constructs a copy of a TouchState object.
 
int getValue ()
 Returns the integer value of the enumeration constant.
 
final int swigValue ()
 Returns the integer value of the enumeration constant.
 

Static Public Member Functions

static TouchState swigToEnum (int swigValue)
 Converts an integer value to the matching enumeration constant.
 
static TouchState toEnum (int value)
 Converts an integer value to the matching enumeration constant.
 

Public Attributes

 Begin =(0)
 The first finger is down.
 
 End =(2)
 The last finger is up.
 
 Update =(1)
 A gesture or a touch event is in progress.
 

Detailed Description

Indicates the states of touch events.

Constructor & Destructor Documentation

◆ TouchState() [1/2]

TouchState ( int value)

Constructs a TouchState of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

◆ TouchState() [2/2]

Constructs a copy of a TouchState object.

Parameters
enum_TouchState to be copy constructed.

Member Function Documentation

◆ getValue()

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

◆ swigToEnum()

static TouchState swigToEnum ( int swigValue)
static

Converts an integer value to the matching enumeration constant.

Used internally by SWIG generated code.

Parameters
swigValueInteger value to convert to enumeration constant.
Returns
Enumeration constant matching the integer value.

◆ swigValue()

final int swigValue ( )

Returns the integer value of the enumeration constant.

Used internally by SWIG generated code.

Returns
Integer value.

◆ toEnum()

static TouchState toEnum ( int value)
static

Converts an integer value to the matching enumeration constant.

Parameters
valueInteger value to convert to enumeration constant.
Returns
Enumeration constant matching the integer value.