-
Notifications
You must be signed in to change notification settings - Fork 243
/
CountlyLocationManager.h
23 lines (19 loc) · 850 Bytes
/
CountlyLocationManager.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// CountlyLocationManager.h
//
// This code is provided under the MIT License.
//
// Please visit www.count.ly for more information.
#import <Foundation/Foundation.h>
@interface CountlyLocationManager : NSObject
@property (nonatomic, copy) NSString* location;
@property (nonatomic, copy) NSString* city;
@property (nonatomic, copy) NSString* ISOCountryCode;
@property (nonatomic, copy) NSString* IP;
@property (nonatomic) BOOL isLocationInfoDisabled;
+ (instancetype)sharedInstance;
- (void)sendLocationInfo;
- (void)updateLocation:(CLLocationCoordinate2D)location city:(NSString *)city ISOCountryCode:(NSString *)ISOCountryCode IP:(NSString *)IP;
- (void)recordLocation:(CLLocationCoordinate2D)location city:(NSString *)city ISOCountryCode:(NSString *)ISOCountryCode IP:(NSString *)IP;
- (void)disableLocationInfo;
- (void)disableLocation;
@end