解决了语音上传到问题,接下来要解决下载播放问题
This commit is contained in:
38
Pods/Qiniu/QiniuSDK/Common/QNZone.h
generated
Normal file
38
Pods/Qiniu/QiniuSDK/Common/QNZone.h
generated
Normal file
@@ -0,0 +1,38 @@
|
||||
//
|
||||
// QNZone.h
|
||||
// QiniuSDK
|
||||
//
|
||||
// Created by yangsen on 2020/4/16.
|
||||
// Copyright © 2020 Qiniu. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@class QNConfiguration, QNResponseInfo, QNUpToken, QNZonesInfo, QNUploadRegionRequestMetrics;
|
||||
|
||||
typedef void (^QNPrequeryReturn)(int code, QNResponseInfo * _Nullable httpResponseInfo, QNUploadRegionRequestMetrics * _Nullable metrics);
|
||||
typedef void (^QNQueryReturn)(QNResponseInfo * _Nullable httpResponseInfo, QNUploadRegionRequestMetrics * _Nullable metrics, QNZonesInfo * _Nullable zonesInfo);
|
||||
|
||||
@interface QNZone : NSObject
|
||||
|
||||
/// 根据token查询相关 Zone 信息【内部使用】
|
||||
/// @param token token 信息
|
||||
/// @param ret 查询回调
|
||||
- (void)preQuery:(QNUpToken * _Nullable)token on:(QNPrequeryReturn _Nullable)ret;
|
||||
|
||||
/// 根据token获取ZonesInfo 【内部使用】
|
||||
/// @param token token信息
|
||||
- (QNZonesInfo *)getZonesInfoWithToken:(QNUpToken * _Nullable)token;
|
||||
|
||||
|
||||
/// 根据token查询相关 Zone 信息【内部使用】
|
||||
/// @param config 配置信息
|
||||
/// @param token token 信息
|
||||
/// @param ret 查询回调
|
||||
- (void)query:(QNConfiguration * _Nullable)config token:(QNUpToken * _Nullable)token on:(QNQueryReturn _Nullable)ret;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Reference in New Issue
Block a user