diff --git a/bindings/ios/MEGASdk.mm b/bindings/ios/MEGASdk.mm index bdbd757fd3..de73cadca3 100644 --- a/bindings/ios/MEGASdk.mm +++ b/bindings/ios/MEGASdk.mm @@ -2862,12 +2862,6 @@ - (BOOL)areTransferPausedForDirection:(NSInteger)direction { return self.megaApi->areTransfersPaused((int)direction); } -- (void)setUploadLimitWithBpsLimit:(NSInteger)bpsLimit { - if (self.megaApi) { - self.megaApi->setUploadLimit((int)bpsLimit); - } -} - - (void)requestBackgroundUploadURLWithFileSize:(int64_t)filesize mediaUpload:(MEGABackgroundMediaUpload *)mediaUpload delegate:(id)delegate { if (self.megaApi) { self.megaApi->backgroundMediaUploadRequestUploadURL(filesize, mediaUpload.getCPtr, [self createDelegateMEGARequestListener:delegate singleListener:YES queueType:ListenerQueueTypeCurrent]); diff --git a/bindings/ios/include/MEGASdk.h b/bindings/ios/include/MEGASdk.h index a2c8d21153..2c526e81ae 100644 --- a/bindings/ios/include/MEGASdk.h +++ b/bindings/ios/include/MEGASdk.h @@ -7475,17 +7475,6 @@ typedef NS_ENUM(NSInteger, ImportPasswordFileSource) { */ - (BOOL)areTransferPausedForDirection:(NSInteger)direction; -/** - * @brief Set the upload speed limit. - * - * The limit will be applied on the server side when starting a transfer. Thus the limit won't be - * applied for already started uploads and it's applied per storage server. - * - * @param bpsLimit -1 to automatically select the limit, 0 for no limit, otherwise the speed limit - * in bytes per second. - */ -- (void)setUploadLimitWithBpsLimit:(NSInteger)bpsLimit; - /** * @brief Request the URL suitable for uploading a media file. *