You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@abstract Implement this protocol to provide automatic update checking methods to Sparkle.
*/
@protocol LVUpdateActivityProtocol <NSObject>
/*!
@method
@abstract An abstract method to report when the application was last active
@discussion Should return an NSDate object for the last significant user-driven action taken in the app.
*/
- (NSDate *)lastActivity;
/*!
@method
@abstract An abstract method to report how often an update should be run
@discussion Although Sparkle does not trigger the automatic update check, it makes sure to not update if a user action has been taken within the threshold before restarting.
*/
- (NSTimeInterval)updateThreshold;
/**
* If the update fails, report to the delegate
*
* @param error The error returned when update failed.