Permalink
Browse files

expose archive

  • Loading branch information...
1 parent c249b31 commit a57d822664d37cbb87ab6f351161f06b2070a695 @neilrahilly neilrahilly committed Oct 18, 2012
Showing with 16 additions and 0 deletions.
  1. +16 −0 Mixpanel/Mixpanel.h
View
@@ -314,6 +314,22 @@
*/
- (void)flush;
+/*!
+ @method
+
+ @abstract
+ Writes current project info, including distinct ID, super properties and pending event
+ and People record queues to disk.
+
+ @discussion
+ This state will be recovered when the app is launched again if the Mixpanel library is
+ initialized with the same project token. You do not need to call this method. For most
+ use cases, the library listens for app state changes and handles persisting data as
+ needed. It can be useful in some special circumstances, though, for example, if you'd
+ like to track app crashes from main.m.
+ */
+- (void)archive;
+
@end
/*!

0 comments on commit a57d822

Please sign in to comment.