text: //
  //  KountAnalyticsViewController.h
  //  KountDataCollector
  //
  //  Created by Vamsi Krishna on 07/08/20.
  //  Copyright © 2020 Kount Inc. All rights reserved.
  //
  
  #import <UIKit/UIKit.h>
  #import <Foundation/Foundation.h>
  #import <CoreMotion/CoreMotion.h>
  #import "KDataCollector.h"
  
  NS_ASSUME_NONNULL_BEGIN
  
  // Device Collection Status
  typedef NS_ENUM(NSInteger, KDataCollectorStatus) {
      
      // A device data collection not started
      KDataCollectorStatusNotStarted = 0,
      
      // A device data collection started
      KDataCollectorStatusStarted,
      
      // A device data collection completed successfully
      KDataCollectorStatusCompleted,
      
      // A device data collection failed with error
      KDataCollectorStatusFailedWithError,
      
      // A device data collection failed without error
      KDataCollectoStatusFailedWithoutError,
      
  };
  
  // Device Collection Status
  typedef NS_ENUM(NSInteger, DeviceFPDataCollectorStatus) {
      
      // A device data collection not started
      DeviceFPDataCollectorStatusNotStarted = 0,
      
      // A device data collection started
      DeviceFPDataCollectorStatusStarted,
      
      // A device data collection completed successfully
      DeviceFPDataCollectorStatusCompleted,
      
      // A device data collection failed with error
      DeviceFPDataCollectorStatusFailedWithError,
      
      // A device data collection failed without error
      DeviceFPDataCollectorStatusFailedWithoutError,
      
  };
  
  @interface KountAnalyticsViewController : UIViewController <UITextFieldDelegate, UITextViewDelegate, UISearchBarDelegate> {
  
  }
  
  + (id)sharedInstance;
  + (void)setColorWellButtonType;
  + (nullable NSMutableArray *)getFingerprintDataToTextView;
  - (NSString *)getColorWellButtonType;
  + (NSString *)getAppSessionID;
  - (BOOL)checkIsDeviceJailbroken;
  - (void)appear;
  - (void)disappear;
  - (int64_t)getEpochTime;
  - (void)storeDeletionTime;
  - (void)storeStartingTime;
  - (void)msDifferenceBetweenCharacter;
  - (void)allMsDifferenceBetweenKeys;
  - (void)assignInputData;
  - (void)deviceDidRotate:(NSNotification *)notification;
  - (void)collectBatteryData;
  - (void)getBatteryState;
  - (void)getBatteryLevel;
  - (void)getLowPowerModeStatus;
  - (void)didChangeBatteryState:(NSNotification *)notification;
  - (void)didChangeBatteryLevel:(NSNotification *)notification;
  - (void)didChangePowerMode:(NSNotification *)notification;
  - (void)assignBatteryData;
  - (void)getDeviceOrientationData;
  - (void)collectDeviceOrientationData;
  - (void)assignDeviceOrientationData;
  - (void)checkForDeviceMotion;
  - (void)collect:(NSString *)sessionID analyticsSwitch:(BOOL)analyticsData completion:(nullable void (^)(NSString *_Nonnull sessionID, BOOL success, NSError *_Nullable error))completionBlock;
  - (NSString *)getSessionID;
  - (void)createJsonObjectFormat;
  - (void)storeLogInEvents:(BOOL)logInStatus;
  - (void)assignFormData;
  - (void)setEnvironmentForAnalytics:(KEnvironment)env;
  - (void)registerBackgroundTask;
  - (void)appInBackground;
  
  + (NSString *)getKDataCollectionStatus;
  + (NSError *)getKDataCollectionError;
  
  
  - (void)collectDeviceFingerPrintData:(nullable void (^)(BOOL success,NSDictionary *_Nonnull deviceFingerprintDict, NSError *_Nullable error))completionBlock;
  
  + (NSString *)getDeviceFPDataCollectionStatus;
  
  
  @end
  
  NS_ASSUME_NONNULL_END
  
  