gpt4 book ai didi

ios - 如何在 DropBox iOS Core SDK 中停止上传文件请求?

转载 作者:塔克拉玛干 更新时间:2023-11-02 20:13:21 25 4
gpt4 key购买 nike

我使用 [restClient uploadFileChunk:uploadId offset:offset fromPath:path]; 上传文件。如何取消上传文件请求?

最佳答案

这些是 DropBox DBRestClient.h 文件中取消请求的方法

这里的路径是指文件在Dropbox中的路径

- (void)cancelFileUpload:(NSString *)path; // This is for you .. 

- (void)cancelAllRequests; /* Cancels all outstanding requests. No callback for those requests will be sent */

- (void)cancelFileLoad:(NSString*)path;

- (void)cancelThumbnailLoad:(NSString*)path size:(NSString*)size;

关于ios - 如何在 DropBox iOS Core SDK 中停止上传文件请求?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17130363/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com