summaryrefslogtreecommitdiff
path: root/platform/ios/src/MGLAPIClient.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/ios/src/MGLAPIClient.h')
-rw-r--r--platform/ios/src/MGLAPIClient.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/platform/ios/src/MGLAPIClient.h b/platform/ios/src/MGLAPIClient.h
index ef64b021b7..0f8926d360 100644
--- a/platform/ios/src/MGLAPIClient.h
+++ b/platform/ios/src/MGLAPIClient.h
@@ -3,10 +3,14 @@
#import "MGLMapboxEvents.h"
#import "MGLTypes.h"
+NS_ASSUME_NONNULL_BEGIN
+
@interface MGLAPIClient : NSObject <NSURLSessionDelegate>
-- (void)postEvents:(nonnull NS_ARRAY_OF(MGLMapboxEventAttributes *) *)events completionHandler:(nullable void (^)(NSError * _Nullable error))completionHandler;
-- (void)postEvent:(nonnull MGLMapboxEventAttributes *)event completionHandler:(nullable void (^)(NSError * _Nullable error))completionHandler;
+- (void)postEvents:(NS_ARRAY_OF(MGLMapboxEventAttributes *) *)events completionHandler:(nullable void (^)(NSError * _Nullable error))completionHandler;
+- (void)postEvent:(MGLMapboxEventAttributes *)event completionHandler:(nullable void (^)(NSError * _Nullable error))completionHandler;
- (void)cancelAll;
@end
+
+NS_ASSUME_NONNULL_END