QNAutoZone.h 468 B

123456789101112131415161718192021222324252627
  1. //
  2. // QNAutoZone.h
  3. // QiniuSDK
  4. //
  5. // Created by yangsen on 2020/4/16.
  6. // Copyright © 2020 Qiniu. All rights reserved.
  7. //
  8. #import "QNZone.h"
  9. NS_ASSUME_NONNULL_BEGIN
  10. @class QNFixedZone;
  11. @interface QNAutoZone : QNZone
  12. + (instancetype)zoneWithUcHosts:(NSArray *)ucHosts;
  13. + (void)clearCache;
  14. /**
  15. * 当 查询失败时,会使用 zones 进行上传,默认不配置。
  16. */
  17. - (void)setDefaultZones:(NSArray <QNFixedZone *> *)zones;
  18. @end
  19. NS_ASSUME_NONNULL_END