Method
PhocGestureget_last_event
Declaration [src]
const PhocEvent*
phoc_gesture_get_last_event (
PhocGesture* self,
PhocEventSequence* sequence
)
Description [src]
Returns the last event that was processed for sequence.
Note that the returned pointer is only valid as long as the sequence
is still interpreted by the self. If in doubt, you should make
a copy of the event.
Parameters
sequence-
Type:
PhocEventSequenceA
PhocEventSequence.The argument can be NULL.The data is owned by the caller of the method.
Return value
Type: PhocEvent
The last event from sequence.
| The returned data is owned by the instance. |
The return value can be NULL. |