4d8bbdc7ef
Add to Git the current app version (the same available in the OriginalZip folder)
25 lines
695 B
Objective-C
25 lines
695 B
Objective-C
//
|
|
// EQMAccelerometroManager.h
|
|
// Earthquake Network
|
|
//
|
|
// Created by Luca Beretta on 19/09/18.
|
|
// Copyright © 2018 Luca Beretta. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <CoreLocation/CoreLocation.h>
|
|
#import <UIKit/UIKit.h>
|
|
|
|
@interface EQMAccelerometroManager : NSObject <CLLocationManagerDelegate>
|
|
|
|
@property (strong, nonatomic) CLLocationManager *locationManager;
|
|
@property (strong, nonatomic) CLLocation *currentLocation;
|
|
|
|
+(EQMAccelerometroManager *) sharedInstance;
|
|
+(void)avviaLetturaAccellerometroisCal:(BOOL)isCal withResult:(void(^)(NSArray *dati)) success;
|
|
-(void)getPosition;
|
|
-(void)startUpdatingLocationBackground;
|
|
-(void)stopUpdatingLocation;
|
|
|
|
@end
|