//
//  AutoSync.h
//  EAMNext
//
//  Created by Ram Madichetty on 6/6/16.
//
//

#import <Foundation/Foundation.h>
#ifdef IS_FRAMEWORK
    #import <EAMNextDUX-Swift.h>
#else
    #import "EAMNext-Swift.h"
#endif

@interface AutoSync : NSObject<GISSyncDelegate>

+(void)start;
+(void)stop;
+(BOOL)isRunning;
+ (BOOL)isUploadInProgress;

extern NSString * const kAutoSyncNotification;
extern NSString * const kDataUploadNotification;

@end

typedef enum
{
    AutoSyncStatusStart,
    AutoSyncStatusComplete,
    AutoSyncStatusUploadData,
    AutoSyncStatusDownloadData,
    AutoSyncStatusDownloadDocuments,
    AutoSyncStatusGISSync

}AutoSyncStatus;
