//
//  OnDemandSync.h
//  EAMNext
//
//  Created by Satish Kumar Jakkula on 3/2/18.
//

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

@interface OnDemandSync : NSObject
{
    
}

+(void)start;
+(void)stop;
+(BOOL)isRunning;
+ (BOOL)isUploadInProgress;
+ (void)addDownloadCategory:(NSString *)category;
+ (void)removeDonwloadCategory:(NSString *)category;

extern NSString * const kOnDemandSyncNotification;
extern NSString * const kOnDemandDataUploadNotification;

@end

typedef enum
{
    OnDemandSyncStatusStart,
    OnDemandSyncStatusComplete,
    OnDemandSyncStatusUploadData,
    OnDemandSyncStatusDownloadData,
    OnDemandSyncStatusDownloadDocuments,
    OnDemandSyncStatusGISSync
    
}OnDemandSyncStatus;
