From ec304d37ac0fd03f3cf96ab9a5466b6a8f689674 Mon Sep 17 00:00:00 2001 From: Brad Leege Date: Fri, 20 Mar 2015 16:01:52 -0500 Subject: #1033 - Integrating MapboxEvents class. --- include/mbgl/ios/MGLMapboxEvents.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 include/mbgl/ios/MGLMapboxEvents.h (limited to 'include') 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 + +@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 -- cgit v1.2.1