From 2104deb29bc57dd7477ce21444d2b2922714790e Mon Sep 17 00:00:00 2001 From: yuhao900914 Date: Thu, 16 Dec 2021 19:40:54 -0800 Subject: [PATCH] feat: public the setEventUploadMaxBatchSize api --- Sources/Amplitude/Public/Amplitude.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Sources/Amplitude/Public/Amplitude.h b/Sources/Amplitude/Public/Amplitude.h index 7fcc96d3..5ee2d965 100644 --- a/Sources/Amplitude/Public/Amplitude.h +++ b/Sources/Amplitude/Public/Amplitude.h @@ -590,6 +590,13 @@ typedef void (^AMPInitCompletionBlock)(void); */ - (void)setOptOut:(BOOL)enabled; +/** + Sets event upload max batch size. This controls the maximum number of events sent with each upload request. + + @param eventUploadMaxBatchSize Set the event upload max batch size + */ +- (void)setEventUploadMaxBatchSize:(int)eventUploadMaxBatchSize; + /** Disables sending logged events to Amplitude servers.