Reputation: 23756
How do I check each ticket, then cancel it? e.g. if it has tag = 1, I need to cancel it. Does the google API have a list of tickets under drive service? And how do I add a tag or similar property without changing the ticket class?
Upvotes: 0
Views: 53
Reputation: 1564
The service object does not keep a list of outstanding tickets; your app should keep an array of the tickets.
(The fetcher service object used by the API service object does have a list of outstanding fetchers, and the tickets that issued each fetcher are available via a ticket category method But it's still best if your app just keeps an array of the tickets that it cares about.)
Each ticket can have properties set via setProperty:forKey: and accessed with propertyForKey:
Upvotes: 1