#include <gesture_input_event_samsung.h>
pp::GestureInputEventSamsung::GestureInputEventSamsung |
( |
| ) |
|
Constructs an is_null() gesture input event object.
pp::GestureInputEventSamsung::GestureInputEventSamsung |
( |
const InputEvent & |
event | ) |
|
|
explicit |
This constructor constructs a gesture input event object from the provided generic input event. If the given event is itself is_null() or is not a gesture input event, the gesture object will be is_null().
- Parameters
-
[in] | event | A generic input event. |
pp::GestureInputEventSamsung::GestureInputEventSamsung |
( |
const InstanceHandle & |
instance, |
|
|
PP_InputEvent_Type |
type, |
|
|
PP_TimeTicks |
time_stamp, |
|
|
uint32_t |
modifiers, |
|
|
PP_Gesture_Type |
gesture_type |
|
) |
| |
Constructs a gesture input even from the given parameters.
- Parameters
-
[in] | instance | The instance for which this event occured. |
[in] | type | type A PP_InputEvent_Type identifying the type of input event. |
[in] | time_stamp | A PP_TimeTicks indicating the time when the event occured. |
[in] | modifiers | A bit field combination of the PP_InputEvent_Modifier flags. |
[in] | gesture_type | A PP_Hand_Gesture_Type identifying gesture. |
PP_Gesture_Type pp::GestureInputEventSamsung::GetGestureType |
( |
| ) |
const |
GetGestureType() returns the type of generated gesture event.
- Returns
- The gesture type associated with event. This value will be
PP_GESTURETYPE_INVALID
for all non-gesture events.
The documentation for this class was generated from the following file: