Skip to content

Commit

Permalink
feat: public the setEventUploadMaxBatchSize api (#376)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhao900914 authored Dec 17, 2021
1 parent ad9d48a commit 86b8ea9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Sources/Amplitude/Public/Amplitude.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 86b8ea9

Please sign in to comment.