diff options
author | boundsj <jesse@rebounds.net> | 2016-03-01 17:00:44 -0800 |
---|---|---|
committer | Jesse Bounds <jesse@rebounds.net> | 2016-03-03 17:45:10 -0800 |
commit | d10d3eef432ff5a3b161e87e7653bb902b86a32d (patch) | |
tree | f140047b56956af9c9c66be7a3d90ae56bac80d6 /platform/ios/src/MGLMapboxEvents.h | |
parent | c6d84f0d71f7f6244ce88c33b35d19e780ee144a (diff) | |
download | qtlocation-mapboxgl-d10d3eef432ff5a3b161e87e7653bb902b86a32d.tar.gz |
[iOS] #4148 Update event serialization to the V2 specification.
This updates the endpoint for events to "v2" and updates
appUserTurnstile, map.load, map.click, map.dragend, and location
to the V2 spec.
Diffstat (limited to 'platform/ios/src/MGLMapboxEvents.h')
-rw-r--r-- | platform/ios/src/MGLMapboxEvents.h | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/platform/ios/src/MGLMapboxEvents.h b/platform/ios/src/MGLMapboxEvents.h index 9d90bd967e..98f59ffd3f 100644 --- a/platform/ios/src/MGLMapboxEvents.h +++ b/platform/ios/src/MGLMapboxEvents.h @@ -4,29 +4,20 @@ NS_ASSUME_NONNULL_BEGIN +// Event types extern NSString *const MGLEventTypeAppUserTurnstile; extern NSString *const MGLEventTypeMapLoad; extern NSString *const MGLEventTypeMapTap; extern NSString *const MGLEventTypeMapDragEnd; extern NSString *const MGLEventTypeLocation; -extern NSString *const MGLEventTypeVisit; -extern NSString *const MGLEventTypeLocalDebug; +// Event keys extern NSString *const MGLEventKeyLatitude; extern NSString *const MGLEventKeyLongitude; extern NSString *const MGLEventKeyZoomLevel; -extern NSString *const MGLEventKeySpeed; -extern NSString *const MGLEventKeyCourse; -extern NSString *const MGLEventKeyAltitude; -extern NSString *const MGLEventKeyHorizontalAccuracy; -extern NSString *const MGLEventKeyVerticalAccuracy; -extern NSString *const MGLEventKeyPushEnabled; -extern NSString *const MGLEventKeyEmailEnabled; extern NSString *const MGLEventKeyGestureID; -extern NSString *const MGLEventKeyArrivalDate; -extern NSString *const MGLEventKeyDepartureDate; -extern NSString *const MGLEventKeyLocalDebugDescription; +// Gestures extern NSString *const MGLEventGestureSingleTap; extern NSString *const MGLEventGestureDoubleTap; extern NSString *const MGLEventGestureTwoFingerSingleTap; @@ -48,7 +39,6 @@ typedef NS_MUTABLE_DICTIONARY_OF(NSString *, id) MGLMutableMapboxEventAttributes + (void)pushEvent:(NSString *)event withAttributes:(MGLMapboxEventAttributes *)attributeDictionary; + (void)ensureMetricsOptoutExists; + (void)flush; -+ (BOOL)checkPushEnabled; @end |