diff options
author | Brad Leege <bleege@gmail.com> | 2015-03-20 16:01:52 -0500 |
---|---|---|
committer | Brad Leege <bleege@gmail.com> | 2015-03-20 16:01:52 -0500 |
commit | ec304d37ac0fd03f3cf96ab9a5466b6a8f689674 (patch) | |
tree | 49416410efbf8a6e5e565c822a55fd7552dc1736 /include | |
parent | 253643f57d055a7e90ddea17374d706ef2c18ed4 (diff) | |
download | qtlocation-mapboxgl-ec304d37ac0fd03f3cf96ab9a5466b6a8f689674.tar.gz |
#1033 - Integrating MapboxEvents class.
Diffstat (limited to 'include')
-rw-r--r-- | include/mbgl/ios/MGLMapboxEvents.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/mbgl/ios/MGLMapboxEvents.h b/include/mbgl/ios/MGLMapboxEvents.h new file mode 100644 index 0000000000..c0cff7c2b7 --- /dev/null +++ b/include/mbgl/ios/MGLMapboxEvents.h @@ -0,0 +1,24 @@ +// +// MapboxEvents.h +// MapboxEvents +// +// Created by Brad Leege on 3/5/15. +// Copyright (c) 2015 Mapbox. All rights reserved. +// + +#import <Foundation/Foundation.h> + +@interface MGLMapboxEvents : NSObject + +@property (atomic) NSInteger flushAt; +@property (atomic) NSInteger flushAfter; +@property (atomic) NSString *api; +@property (atomic) NSString *token; +@property (atomic) NSString *appName; +@property (atomic) NSString *appVersion; + ++ (id)sharedManager; + +- (void) pushEvent:(NSString *)event withAttributes:(NSDictionary *)attributeDictionary; + +@end
\ No newline at end of file |