new TouchEvent(touches, eventTimestamp)
Creates an instance of a TouchEvent
.
Parameters:
Name | Type | Description |
---|---|---|
touches |
olympe.df.Enumerable.<!olympe.ui.events.TouchEventDetails> | |
eventTimestamp |
olympe.df.PODateTime |
Extends
Methods
-
getEventTimestamp()
-
Gets the time stamp for that event, that is the date and time of its creation.
- Inherited From:
- Overrides:
Returns:
the creation date and time for this event
- Type
- olympe.df.PODateTime
-
getFirstTouch()
-
Convenience method to get first touch detail for this event.
Returns:
First touch reference
-
getTouches()
-
Gets all the touch details for this event.
Returns:
Map of touches