Navigation.eventParseTouchEvent

bool eventParseTouchEvent(gst.event.Event event, out uint identifier, out double x, out double y, out double pressure)

Retrieve the details of a #GstNavigation touch-down or touch-motion event. Determine which type the event is using [gstvideo.navigation.Navigation.eventGetType] to retrieve the #GstNavigationEventType.

Parameters

eventA #GstEvent to inspect.
identifierPointer to a guint that will receive the identifier unique to this touch point.
xPointer to a gdouble that will receive the x coordinate of the touch event.
yPointer to a gdouble that will receive the y coordinate of the touch event.
pressurePointer to a gdouble that will receive the force of the touch event, in the range from 0.0 to 1.0. If pressure data is not available, NaN will be set instead.

Returns

TRUE if all details could be extracted, otherwise FALSE.