blob: 4e5ea3b5e05d0b57e8ee6f6a1ad133fdc5aa2816 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#import <Foundation/Foundation.h>
#import "MGLMapboxEvents.h"
#import "MGLTypes.h"
NS_ASSUME_NONNULL_BEGIN
@interface MGLAPIClient : NSObject <NSURLSessionDelegate>
- (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;
@end
NS_ASSUME_NONNULL_END
|