#import "MGLNetworkConfiguration.h" NS_ASSUME_NONNULL_BEGIN @class MGLNetworkConfiguration; @protocol MGLNetworkConfigurationMetricsDelegate - (void)networkConfiguration:(MGLNetworkConfiguration *)networkConfiguration didGenerateMetricEvent:(NSDictionary *)metricEvent; @end extern NSString * const kMGLDownloadPerformanceEvent; @interface MGLNetworkConfiguration (Private) @property (nonatomic, strong) NSMutableDictionary *events; @property (nonatomic, weak) id metricsDelegate; - (void)startDownloadEvent:(NSString *)urlString type:(NSString *)resourceType; - (void)stopDownloadEvent:(NSString *)urlString; - (void)cancelDownloadEvent:(NSString *)urlString; @end NS_ASSUME_NONNULL_END