gesture_timer_create()
QNX SDP8.0Gestures Library ReferenceAPIDeveloperProgramming
Create a gesture timer
Synopsis:
#include <gestures/timer.h>
int gesture_timer_create(struct gesture_base *gesture,
gesture_timer_callback_t callback,
void *param)Arguments:
- gesture
- A pointer to the gesture.
- callback
- The gesture timer callback function.
- param
- A pointer to the parameter list.
Library:
libgesturesDescription:
This function creates a new gesture timer that invokes the callback function when it expires.
Returns:
The timer ID, or -1 on failure.
Page updated:
