gesture_timer_set_ms()
QNX SDP8.0Gestures Library ReferenceAPIDeveloperProgramming
Set a gesture timer from a timestamp
Synopsis:
#include <gestures/timer.h>
int gesture_timer_set_ms(struct gesture_base *gesture, int timer_id, unsigned ms, uint64_t base_nsec)
Arguments:
- gesture
- A pointer to the gesture.
- timer_id
- The timer to set. 8
- ms
- The expiry time in milliseconds.
- base_nsec
- The base time in nanoseconds. The ms parameter is compared to this time to determine whether the timer has expired.
Library:
libgesturesDescription:
This function sets a timer using a timestamp as the reference time.
Returns:
0 on success, or -1 on failure.
Page updated: