gesture_timer_clear()

Clear an armed timer

Synopsis:

#include <gestures/timer.h>
int gesture_timer_clear(struct gesture_base *gesture,
                        int timer_id)

Arguments:

gesture
A pointer to the gesture.
timer_id
The timer to clear.

Library:

libgestures

Description:

This function clears an armed timer (a timer previously set by one of the gesture_timer_set_*() functions). If the timer is unarmed, this function does nothing and returns 0.

Returns:

0 on success, or -1 on failure.