解决了语音上传到问题,接下来要解决下载播放问题

This commit is contained in:
joywayer
2025-06-15 12:36:47 +08:00
parent bba3ed1cb4
commit c11fc62bf1
513 changed files with 31197 additions and 2969 deletions

65
Pods/Qiniu/QiniuSDK/Utils/QNFileDelegate.h generated Executable file
View File

@@ -0,0 +1,65 @@
//
// QNFileDelegate.h
// QiniuSDK
//
// Created by bailong on 15/7/25.
// Copyright (c) 2015年 Qiniu. All rights reserved.
//
#import <Foundation/Foundation.h>
/**
* 文件处理接口支持ALAsset, NSFileHandle, NSData
*/
@protocol QNFileDelegate <NSObject>
/**
* 从指定偏移读取数据
*
* @param offset 偏移地址
* @param size 大小
* @param error 错误信息
*
* @return 数据
*/
- (NSData *)read:(long long)offset
size:(long)size
error:(NSError **)error;
/**
* 读取所有文件内容
* @param error 错误信息
* @return 数据
*/
- (NSData *)readAllWithError:(NSError **)error;
/**
* 关闭文件
*/
- (void)close;
/**
* 文件路径
*
* @return 文件路径
*/
- (NSString *)path;
/**
* 文件修改时间
*
* @return 修改时间
*/
- (int64_t)modifyTime;
/**
* 文件大小
*
* @return 文件大小
*/
- (int64_t)size;
@optional
- (NSString *)fileType;
@end