-
Notifications
You must be signed in to change notification settings - Fork 15
/
LSMGPXParserDelegate.h
32 lines (31 loc) · 1.32 KB
/
LSMGPXParserDelegate.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Copyright (c) 2021 udevs
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, version 3.
//
// This program is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
@interface LSMGPXParserDelegate : NSObject <NSXMLParserDelegate>{
NSMutableDictionary *_processingElement;
NSDictionary *_lastProcessingElement;
NSMutableArray *_processingTracks;
NSMutableString *_parsedString;
double _lastEpoch;
}
@property(nonatomic, strong) NSArray *tracks;
@property(nonatomic, assign) double hAccuracy;
@property(nonatomic, assign) double vAccuracy;
@property(nonatomic, assign) double lifeSpan;
@property(nonatomic, assign) int type;
@property(nonatomic, assign) double averageSpeed;
@property(nonatomic, assign) uint8_t locationDeliveryBehavior;
@property(nonatomic, assign) uint8_t locationRepeatBehavior;
-(NSArray <NSData *>*)encodedTracks;
-(NSDictionary *)scenario;
@end