Files
eqn.ios/Sources/Earthquake Network/Models/Monitoring/EQNAccelerometroManager.h
T
Andrea Busi a9f16bca4a refactor: Reorganise code related to background monitoring
- Move to Models folder
- Improve code and nullability notation
- Rename class with typo in name
2020-12-07 09:46:43 +01:00

29 lines
741 B
Objective-C

//
// EQNAccelerometroManager.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>
NS_ASSUME_NONNULL_BEGIN
@interface EQNAccelerometroManager : NSObject
@property (strong, nonatomic) CLLocationManager *locationManager;
@property (strong, nonatomic, nullable) CLLocation *currentLocation;
+ (instancetype)sharedInstance NS_SWIFT_NAME(shared());
+ (void)avviaLetturaAccellerometroIsCalibrazione:(BOOL)isCalibrazione withCompletion:(void(^)(NSArray *dati))completion;
- (void)getPosition;
- (void)startUpdatingLocationBackground;
- (void)stopUpdatingLocation;
@end
NS_ASSUME_NONNULL_END