Class: TouchEvent

olympe.ui.events. TouchEvent

A class representing the 'Touch' events generated by the platform.


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

Type
olympe.ui.events.TouchEventDetails

getTouches()

Gets all the touch details for this event.

Returns:

Map of touches

Type
olympe.df.Enumerable.<!olympe.ui.events.TouchEventDetails>