0

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?

Ted
  • 22,696
  • 11
  • 95
  • 109

1 Answers1

1

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:

grobbins
  • 1,564
  • 1
  • 8
  • 6