|  |  |  | Tracker Client Library Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | ||||
#include <libtracker-client/tracker-client.h> gboolean tracker_cancel_call (TrackerClient *client,guint call_id); gboolean tracker_cancel_last_call (TrackerClient *client);
Tracker allows you to cancel any request that has not been processed yet. Aditionally, for fully synchronous requests, there is helper API to cancel the last request.
gboolean tracker_cancel_call (TrackerClient *client,guint call_id);
The call_id is a guint which increments with each asynchronous
API call made using libtracker-client. For synchronous API calls,
see tracker_cancel_last_call() which is more useful.
| 
 | a TrackerClient. | 
| 
 | a guint id for the API call you want to cancel. | 
| Returns : | A gbooleanindicating if the call was cancelled or not. | 
gboolean            tracker_cancel_last_call            (TrackerClient *client);
Cancels the last API call made using tracker_cancel_call(). the
last API call ID is always tracked so you don't have to provide it
with this API.
| 
 | a TrackerClient. | 
| Returns : | A gboolean indicating if the call was cancelled or not. |